Commit Graph

772 Commits

Author SHA1 Message Date
Ramana Kumar dc3fdcf49b
Merge pull request #25 from StefanBratanov/canonical_blobs
[Java binding] Use canonical random blobs in tests
2022-12-10 19:35:35 +00:00
Stefan Bratanov 4a0fed73b2 update gradle wrapper 2022-12-10 21:06:11 +02:00
Stefan Bratanov 971484f85c Use canonical random blobs in tests 2022-12-10 21:05:16 +02:00
Ramana Kumar 547fd39e60
Add non-file-based load_trusted_setup
Closes #3
2022-12-10 16:23:32 +00:00
Ramana Kumar 68f1d2dd7e
Rename load_trusted_setup to load_trusted_setup_file 2022-12-10 16:07:40 +00:00
Ramana Kumar 03f5f1d5d0
Merge pull request #19 from StefanBratanov/java_binding_preset_loading
Java binding - load library based on a preset
2022-12-06 22:32:30 +00:00
Ramana Kumar 2bd4c3b252
Check more allocations for failure 2022-12-06 22:13:18 +00:00
Stefan Bratanov e59f8296e8 add a dot in README 2022-12-06 15:03:58 +00:00
Stefan Bratanov b086cfe9da Add hprof files to gitignore 2022-12-06 13:14:37 +00:00
Stefan Bratanov 0072efe70a Java binding - load library based on a preset 2022-12-06 12:58:56 +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
Ramana Kumar 4a9a72bfbe
Also add new env variable to bindings.dist.gyp 2022-12-03 08:14:33 +00:00
Ramana Kumar 7b3477c6e9
Merge pull request #15 from asn-d6/compute_challenges_spec
Bring compute_challenges() and compute_powers() closer to the spec
2022-12-02 10:48:41 +00:00
George Kadianakis bdfa79ca47 compute_challenges(): Use a single hash_input array 2022-12-02 12:36:11 +02:00
George Kadianakis bcf14e7662 compute_powers(): Be consistent about argument types 2022-12-02 12:35:24 +02:00
Ramana Kumar f747834382
Add example setup for FIELD_ELEMENTS_PER_BLOB=4 2022-12-01 20:32:27 +00:00
Ramana Kumar 45ea45e48b
Make FIELD_ELEMENTS_PER_BLOB configurable in python 2022-12-01 20:31:59 +00:00
Ramana Kumar 5b0aab2d58
Remove assumption about FIELD_ELEMENTS_PER_BLOB 2022-12-01 20:31:21 +00:00
Ramana Kumar 151d6d1571
Merge pull request #18 from flcl42/main
Add automatic build increment
2022-11-30 18:08:13 +00:00
Alexey c0e6d8c3c2 Add automatic build increment 2022-11-30 11:35:32 +03:00
Ramana Kumar de36196184
Do not mess with java bindings CC_FLAGS 2022-11-29 21:19:03 +00:00
Ramana Kumar 070948d68f
Update bindings Makefiles with configurable blob size 2022-11-29 21:07:07 +00:00
Ramana Kumar c9274d8f43
Make FIELD_ELEMENTS_PER_BLOB compile-time configurable 2022-11-29 20:48:12 +00:00
Ramana Kumar 63451ea6eb
Merge pull request #17 from ethereum/makefile-indent
Indent Makefile without spaces
2022-11-29 20:17:24 +00:00
Ramana Kumar f1a210dba4
Indent Makefile without spaces
Avoid using the recipe prefix for non-recipe code
2022-11-29 20:15:19 +00:00
George Kadianakis 80fe1cb3e0 Bring compute_powers() closer to the spec 2022-11-29 19:03:19 +02:00
George Kadianakis 94aa388055 Bring compute_challenges() closer to the spec 2022-11-29 18:46:21 +02:00
Ramana Kumar 36ffd2fb34
Merge pull request #14 from StefanBratanov/cross_compile_java
Add cross compile parameterization for the java binding
2022-11-29 14:37:27 +00:00
Stefan Bratanov 26ac90da96 Add cross compile parameterization for the java binding 2022-11-29 10:56:31 +00:00
Ramana Kumar 12df969a26
Merge pull request #13 from StefanBratanov/makefile_improvements
Parameterize clang executable and the blst build script
2022-11-28 20:04:54 +00:00
Stefan Bratanov b9777a6f67 Parameterize clang executable and the blst build script 2022-11-28 18:38:24 +00:00
Ramana Kumar 1a30272d14
Merge pull request #9 from ethereum/3093
Update Fiat-Shamir protocol to match specs
2022-11-27 19:38:59 +00:00
Ramana Kumar b69104859f
Make bytes big enough in case n == 0 2022-11-26 22:14:21 +00:00
Ramana Kumar 8a6f9f5b7c
Merge pull request #12 from StefanBratanov/java_bindings_improvements
Java bindings improvements
2022-11-26 22:07:36 +00:00
Stefan Bratanov 68d7c69ffc rename and javadocs change 2022-11-26 13:07:13 +00:00
Ramana Kumar 73d5d2fb0b
Statically allocate hash_output 2022-11-25 22:07:34 +00:00
Stefan Bratanov fd9f16c9a9 fix readme 2022-11-25 15:53:22 +00:00
Stefan Bratanov b77bd70817 enhancing the performance test 2022-11-25 14:53:47 +00:00
Stefan Bratanov 73bba9ef91 change library output folder and make it configurable 2022-11-25 14:53:47 +00:00
Stefan Bratanov ec7eae4815 Java bindings improvements 2022-11-25 14:53:47 +00:00
Ramana Kumar 438ebf874b
Merge pull request #10 from tbenr/patch-1
Java binding compilation improvement for macos
2022-11-25 14:22:38 +00:00
Enrico Del Fante c823c9b577
indentation2 2022-11-25 11:21:57 +01:00
Enrico Del Fante 0e82300f8f
indentation 2022-11-25 11:20:47 +01:00
Enrico Del Fante b3224e5a2f
improvement 2022-11-25 11:14:49 +01:00
Enrico Del Fante 0caab36c0b
Java binding compilation improvement for macos
Tries to get `JAVA_HOME` automatically if not already set
2022-11-25 10:31:23 +01:00
Ramana Kumar ad31161515
Update Fiat-Shamir protocol to match specs 2022-11-24 22:58:27 +00:00
Ramana Kumar c2ed728b70
Merge pull request #8 from StefanBratanov/java_bindings
Java bindings
2022-11-24 22:04:46 +00:00
Stefan Bratanov b9ff9d3309 small improvements 2022-11-24 21:53:15 +00:00
Stefan Bratanov f386e524c5 add fake proof test 2022-11-24 21:34:52 +00:00
Stefan Bratanov c944251ca6 revert back makefile change 2022-11-24 20:38:38 +00:00