Alexey
7c0bd867d5
Add C# wrapper & YAML tests ( #46 )
2023-03-06 15:46:00 -06:00
Justin Traglia
6b2ee20102
Add bindings to readme ( #154 )
...
* Add bindings section to readme
* Reorganize a little bit
* Remove extra blank lines
2023-02-23 17:53:08 +02:00
Justin Traglia
0e6e23de65
Update csharp bindings ( #146 )
2023-02-21 09:57:25 -06:00
Justin Traglia
03b90ef63f
Use Bytes48 for commitments/proofs ( #86 )
...
* Start to use bytes48 type
* Update java bindings
* Update variable names
* Update csharp bindings
* Update node.js bindings
* Update python bindings
* Fix mistake in python bindings
* Add new functions
* Fix nit in java bindings
* Update variable names in java bindings
* Compare to point at infinity
* Update bytes_to_bls_field doc
* Add todo
* Do key validation
* Remove bytes_to_g1
* Fix bug & add remark
* Fix memcmp mistake
* Fix nit in nodejs bindings
* Fix another nit
* Update nodejs parameter names
* Remove to_proof() and to_commitment()
* Fix bug
2023-01-26 14:53:30 +00:00
Justin Traglia
0a18868475
Upgrade blst & remove sha256 patch ( #85 )
2023-01-25 20:07:15 +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
69f6155d75
Bytes-only interface ( #62 )
...
* Convert argument types to bytes
* Update java bindings
* Update python bindings
* Update node.js bindings
* Update c# bindings
* Fix java binding compile issues
* Fix incorrect memcpy in nodejs bindings
* Fix bug (called the wrong func)
* Fix issues with java bindings
* Fix issues with node.js bindings
* Remove unnecessary wrapped funcs for c#
* Rename struct member to bytes
* Use goto out for callocs
* Fix nit
* Make un-exported funcs static
* Fix python bindings
* Check commitment length in python bindings
* Update python error message
* Steal good ideas from #37
* Fix tests.py which didn't get copied over
* Convert remaining a[] to *a
* Add missing Py_DECREF
* Bytes only rust (#1 )
* Make interface bytes only
* Fix benches
* Avoid newtypes for kzg types
* Fix benches again
* Make fields private
* tidy
* Address review comments
* Fix one small thing in rust bindings
* Use ckzg types where possible
* Remove null terminator from domain bytes in rust
* Update rust binding docs
* Use BYTES_PER_* where applicable
* Add extra check for calloc
Co-authored-by: Pawan Dhananjay <pawandhananjay@gmail.com>
2023-01-16 20:05:23 +00:00
Justin Traglia
c72ea8e1dc
Convert Blob type to struct ( #61 )
...
* Convert Blob type to struct
* Rename blob.data to blob.bytes
2023-01-12 10:10:23 -08:00
Justin Traglia
b404758368
Update expectedProofComputed values
2023-01-09 16:26:00 -06:00
Justin Traglia
b60e116ec5
Fix some more minor typos
2023-01-09 16:15:01 -06:00
Justin Traglia
658b43ec16
Check ret of blob_to_kzg_commitment in c# bindings
2023-01-09 15:22:13 -06:00
Alexey Osipov
86f9f5d2ec
Align tests with the modulus check
2022-12-12 00:01:21 +03:00
Ramana Kumar
68f1d2dd7e
Rename load_trusted_setup to load_trusted_setup_file
2022-12-10 16:07:40 +00:00
Ramana Kumar
78bf846f69
Merge pull request #16 from ethereum/configure_blob_size
...
Make FIELD_ELEMENTS_PER_BLOB compile-time configurable
2022-12-06 12:48:40 +00:00
Alexey
c0e6d8c3c2
Add automatic build increment
2022-11-30 11:35:32 +03:00
Ramana Kumar
070948d68f
Update bindings Makefiles with configurable blob size
2022-11-29 21:07:07 +00:00
Alexey Osipov
c5e42fdc82
Rename x to z in csharp bindings for verify_kzg_proof
2022-11-22 10:51:29 +03:00
Alexey Osipov
2761467490
Merge remote-tracking branch 'origin2/main' into feature/kzg-test
2022-11-22 10:50:05 +03:00
Alexey Osipov
b7a4f7ccea
Rollback hash usage, clean up code
2022-11-22 10:46:49 +03:00
Ramana Kumar
471319fd81
Rename x to z in csharp bindings for verify_kzg_proof
...
just for consistency
2022-11-21 17:33:59 +00:00
Alexey Osipov
a582145755
Clean up tests
2022-11-19 23:46:38 +03:00
Ramana Kumar
bcc138560a
Update interface for verify_kzg_proof
2022-11-19 09:35:55 +00:00
Alexey Osipov
e812599c2c
Fix captions
2022-11-16 19:43:36 +03:00
Alexey Osipov
9fa293effc
Add a program to generate outputs for a basic test
2022-11-16 19:31:41 +03:00
Alexey Osipov
3fdc6d37f5
Fix build again
2022-11-10 20:49:40 +03:00
Alexey Osipov
7db7616f2b
Fix packaing and settings loading
2022-11-10 19:23:40 +03:00
Alexey Osipov
9c29267d3e
Fix build
2022-11-09 22:27:09 +03:00
Alexey Osipov
fb0d03ff25
Change API to allow fixed effective ptrs
2022-11-09 22:16:00 +03:00
Alexey Osipov
94f4c91e1a
Fix `make run-test` for newly cloned repo
2022-11-08 17:26:26 +03:00
Alexey Osipov
08d7384465
Remove duplicate files, improve build, change test framework
2022-11-07 21:18:23 +03:00
Alexey Osipov
f18f95c395
Add build, tests, nuget
2022-11-07 16:28:22 +03:00
Ramana Kumar
ce8707b5b7
Update csharp ckzg.c
2022-11-04 09:07:05 +00:00
Ramana Kumar
37e9be5705
Fix references to min-src
2022-11-01 14:28:51 +00:00
Ramana Kumar
434c9ae9b9
Remove unused code, remove min- prefix
2022-11-01 14:24:02 +00:00