Commit Graph

32 Commits

Author SHA1 Message Date
George Kadianakis 46d529cf00
Interface changes to free the blobs (#123)
* Update C files to new interface

* Switch CHALLENGE_INPUT_SIZE from a macro to a `const int`.

* Update README with the new public methods

---------

Co-authored-by: Justin Traglia <jtraglia@pm.me>
2023-02-20 15:52:12 +00:00
Justin Traglia 8907fbcfe2
Expose `compute_kzg_proof` (#80)
* Expose computeKzgProof

* Revert changes to bytes_to/from_bls_field

* Update comments

* Revert changes to bytes_from_bls_field

* Revert change to parameter name

* Add compute_kzg_proof to readme

* Refactor in support of asn's PR

* Clean up a little

* Fix param name doc

* Introduce Bytes32 type

* Update bindings

* Replaces bytes with b to match spec
2023-01-24 18:23:42 +00:00
Justin Traglia 50bf358c6d
Remove mentions of to/from bytes in readme (#70) 2023-01-17 20:58:45 +00:00
dancoffman 8683fac75a
Basic setup instructions in README 2022-11-04 16:56:16 -07:00
Ramana Kumar f906fcc6ab
Remove todo about blst submodule 2022-11-04 22:27:38 +00:00
Ramana Kumar 99a990ff32
Add some of the bytes conversions back to the interface
These might still be needed for the G1 elements even though they're not
needed for blobs now.

Also make FIAT_SHAMIR_PROTOCOL_DOMAIN static to avoid redefinitions.
2022-11-04 09:05:39 +00:00
Ramana Kumar 2b0f6a5c09
Update src for merged-3038 specs
bindings/tests not updated
2022-11-03 17:16:57 +00:00
Ramana Kumar 434c9ae9b9
Remove unused code, remove min- prefix 2022-11-01 14:24:02 +00:00
Ben Edgington 80f984cecd Correct include dir info 2021-07-09 13:41:30 +01:00
Ben Edgington b21d13684b
Consolidate header files (#14)
* Consolidate header files

User should now need only include c_kzg.h and bls12_381.h.

* Update README
2021-07-09 13:35:19 +01:00
Ben Edgington 37021b9653 Use Blst's multiscalar multiplication for commitments 2021-06-22 19:52:44 +01:00
Ben Edgington 18f7d8f72e Link to jc-kzg Java wrapper 2021-06-21 16:11:03 +01:00
Ben Edgington e2cbccdc9d Start improving the docs 2021-03-01 11:39:18 +00:00
Ben Edgington 0c5cd403d0 Minor update to debug info 2021-02-28 11:43:54 +00:00
Ben Edgington f1380fb007 Update progress 2021-02-27 15:21:53 +00:00
Ben Edgington 3dbcfa2a97 Update macro info 2021-02-17 15:18:46 +00:00
Ben Edgington 5bd6f1f6bc Implement DAS extension 2021-02-17 12:25:03 +00:00
Ben Edgington aec19b5eee Implement FK20 multi proofs 2021-02-15 20:48:16 +00:00
Ben Edgington 10934b87f0 Update documentation info 2021-02-12 16:56:32 +00:00
Ben Edgington 7b023e10c4 The beginnings of documentation, yay 2021-02-11 11:43:08 +00:00
Ben Edgington 79d7868f2a Relative links to source files don't work at Github :( 2021-02-10 12:52:24 +00:00
Ben Edgington 584124fa3a Add ASSERT info 2021-02-10 11:57:33 +00:00
Ben Edgington f476a0f6ce Add FK20 single proofs 2021-02-10 11:55:38 +00:00
Ben Edgington 4956ffa4ac Improve benchmark test framework 2021-02-08 08:39:24 +00:00
Ben Edgington 6242338bd8 Implement polynomial multi proofs 2021-02-05 20:48:56 +00:00
Ben Edgington 686d1c5ca7 Implement single polynomial commitment 2021-02-04 21:23:34 +00:00
Ben Edgington 6bf6e675b3 Add more build and test info 2021-02-03 17:00:23 +00:00
Ben Edgington ae43c79f3f Implement FFT with G1 elements 2021-02-02 23:46:52 +00:00
Ben Edgington 8de064215a Create src/ directory and move source files in 2021-02-02 11:44:19 +00:00
Ben Edgington 7de3c29ab6 Insert lib/ directory and update Readme 2021-02-02 11:36:36 +00:00
Ben Edgington a69778c53b Add WIP to Readme 2021-02-02 11:20:25 +00:00
Ben Edgington 32340d46a1 Initial commit 2021-02-01 20:15:45 +00:00