Skip to content
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

feat: support BLS (Boneh-Lynn-Shacham) signature #579

Merged
merged 17 commits into from
May 29, 2024
Merged

Conversation

RyanKung
Copy link
Member

@RyanKung RyanKung commented May 27, 2024

Implementation of BLS (Boneh-Lynn-Shacham) signature

  • 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.

@RyanKung RyanKung changed the title [WIP] feat: bls signer feat: bls signer May 28, 2024
@RyanKung RyanKung changed the title feat: bls signer feat: support BLS (Boneh-Lynn-Shacham) signature May 29, 2024
@RyanKung RyanKung merged commit bb061f9 into master May 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant