-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support BLS (Boneh-Lynn-Shacham) signature (#579)
Map privatekey to bls primefield Map publickey to projective point of G2 Implemented sign and verify of bls implementation of bls aggregate The msg is extending with prefix "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_NUL_ which is as same as filecoin's implementation.
- Loading branch information
Showing
15 changed files
with
505 additions
and
73 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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.