cloudflare / circl

CIRCL: Cloudflare Interoperable Reusable Cryptographic Library
http://blog.cloudflare.com/introducing-circl
Other
1.22k stars 136 forks source link

Add BLS signatures over BLS12-381 #446

Closed armfazh closed 4 months ago

armfazh commented 1 year ago

Implements the basic version of BLS as in IETF draft. https://github.com/cfrg/draft-irtf-cfrg-bls-signature

armfazh commented 5 months ago

Please address the test for point for infinity. Otherwise it's ok.

Tests for the point at infinity are checked in the ecc/bls12831 package

the other case happens when the signing key is zero. and this case is checked here: https://github.com/cloudflare/circl/pull/446/files#diff-45bd7b7f5e0dd32f5ee9e14fdb3b1c8cb2fff157c8a99f9667c9029781e69090R111-R112