Skip to content

Releases: sigp/milagro_bls

No STD

14 Dec 03:27
d3fc0a4
Compare
Choose a tag to compare

Removes the mutability from PublicKey::as_uncompressed_bytes(&mut self) as it is not required.

Also adds a compilation option without std to allow for no std compilations.

Small IKMs

05 Apr 05:38
421aa3a
Compare
Choose a tag to compare

Modifies SecretKey::key_generate() to return a Result. The error case will arise if IKM is less than 32 bytes.

Splitting Zero

15 Mar 23:38
Compare
Choose a tag to compare

Add an additional check to ensure that if an aggregate public key sums to infinity that it will be considered invalid.

Windows Naming

10 Nov 04:08
c5e6c5e
Compare
Choose a tag to compare

The Apache Milagro submodule has been updated such that it no longer uses files names with characters that are illegal in windows (e.g. :).

Stricter AggregatePublicKey and Subgroup Checks

20 Oct 06:00
45a076a
Compare
Choose a tag to compare

Updates

  • Subgroup checks for public keys now occur during deserialisation (alternatively use PublicKey::from_bytes_unchecked())
  • Subgroup checks for signatures still occur during verification
  • AggregatePublicKey has been restricted to prevent adding the point at infinity by removing
    • is_empty
    • from_bytes()
    • new()
    • default()

Secret Key Non-Zero

05 Oct 23:05
5ecda0f
Compare
Choose a tag to compare

BLSv4

  • Reject Secret Keys that are zero.
  • Reject infinity public keys in fast_aggregate_verify().

BLS v04

01 Oct 02:00
515201c
Compare
Choose a tag to compare

Hash to Curve v07

19 May 23:28
32c9f93
Compare
Choose a tag to compare

Updates the underlying hash to curve function to hash-to-curve-v07.

This involves pushing much of the code upstream to Apache Milagro Crypto Library - Rust.

Tight Keys

28 Apr 04:38
2ccdd4b
Compare
Choose a tag to compare

SecretKeys have been restricted to 32 bytes.

BLS v02

06 Apr 00:44
ac3e5c3
Compare
Choose a tag to compare
BLS v02 Pre-release
Pre-release

Updates to match BLS-signatures-v02

Matches BLS v02 naming however still linked hash-to-curve-05