Repository navigation
feat: bump library to mainstream #409 [blst library usage] #132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
57f7e16
refactor: remove bn_helpers.hpp as workaround for gmp / relic datastr…
knst 43a953d
refactor: removed helper PrivateKey::RandomPrivateKey because it used…
knst 158592f
refactor: drop fLegacy flag from private's key serialization
knst 796a158
fix: silence -Wunused-parameter in LegacySchemeMPL stubs and Aggregat…
knst 3a7f027
doc: repair license header text mangled by the MPL-stripping sed
knst 7ecb920
test: order boundary tests, blst cross-check and the consensus vector…
knst f683a06
Adapt to the most recent version of emsdk. (#362)
AmineKhaldi 73eb5bb
catchup: into main from long_lived/blastwjb @ 95c2f65073c366a3621e30…
wallentx e79d284
no avx not for EMSCRIPTEN (#428)
wjblanke 69cce7e
fix: adopt dash specific files chaincode, threshold for blst library
knst 6cb99c4
fix: adopt extendedprivatekey extendendpublickey for blst's library
knst 4f8b4e5
fix: adopt legacy signing for blst library [ep2_map_legacy]
knst ecbb1dc
fix: adopt elements.cpp for blst library usages
knst 81e22c0
fix: blst's validation assumes a point on the curve while relic's is-…
knst 330f75b
fix: adopt privatekey.cpp for blst library usage
knst a021900
fix: adopt util.hpp for blst library usages
knst 18a9a6b
fix: adopt schemes.hpp/cpp for blst library
knst c42c4dd
fix: scalar byte order in point multiplication
knst e2d734f
fix: keep relic's verification semantics instead of blst_core_verify
knst d48d45f
perf: serialize PrivateKey without blst's temporary limb conversion
knst 49450c5
test: extra blst boundary checks tests
knst 3c521b3
build: include blst headers as "blst.h"
knst 6f3d09f
binds: restore G1Element/G2Element multiplication by PrivateKey in Py…
knst 48307a8
binds: build the Go and Rust bindings against blst
knst 45ad338
binds: build the Apple Rust dependencies with CMake
knst d59a414
build: link vectorgen with emmalloc under Emscripten
knst 1079b7f
fix: legacy signing and verification require a 32-byte message hash
knst 1d142fd
fix: keep md_hmac's key-derived buffers in secure memory
knst d26e546
fix: GTElement::Unity() returned a default element
knst 32de4b2
test: fixed invalid point, secure-aggregation case; fuzzgen argument …
knst a9cc2d3
refactor: pass the message length to blst hash-to-group as size_t
knst 36b2a13
fix: relic's zeros-only check for basic G1 decoding
knst e3fa624
ci: drop the relic backend matrix and the GMP installs
knst 3c92123
build: use blst's portable C code on 64-bit targets without assembly
knst 1d0724e
build: apply -fno-builtin to blst's server.c only
knst eef98c6
build: drop the relic leftovers from Python packaging
knst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently used tag is three years old (source), against latest release, the API changes don't seem too drastic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's right, I backported https://github.com/Chia-Network/bls-signatures/pull/409/files and tried to keep diff minimal as possible and changeset close as possible to original PR.
It would be easy to bump version any time in the future
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would rather the bump happen now, can be in a separate commit if desire to distinguish it from Chia's diffset but right off the bat we should try to at least use a tagged release. There are (even if minor) API changes so better to do it now.