Expand description
§Nugget BLS
Implements the nugget BLS protocols for more efficent aggregation and gossip.
At first blush, BLS signatures need public keys and signatures to live on opposite sides of the pairing, so verifiers need either slow G2 operations for either the hash-to-curve or else for combining public key.
In nugget BLS, we demand public keys be a DLEQ proof between points on each of G1 and G2. so then aggregation sums the public keys on G2, but verifiers only sub the G1 public keys. We now have two verification equations, but they could easily be merged after two scalar multiplications on G1, so verifiers need only the G2 subgroup check and point preperation.
In principle, one always checks signle BLS signatures before creating aggregate BLS signatures. Individual BLS signatures already create DoS risks, which we aleviate by having so individual nugget BLS’ signatures by DLEQ proofs, that employ only G1 arithmetic.
Modules§
Structs§
- Aggregate
Signature - Public
Key - Secret
Key - Signature
- Actual nugget BLS signature including faster correctness proof
- Transcript
- Shake128 transcript style hasher.
Enums§
Traits§
- Into
Transcript - All types interpretable as
Transcripts, including primarilyimpl BorrowMut<Traanscript>types likeTranscriptand&mut Transcript. - Into
VrfInput - Create VRF input points
Functions§
- pedersen_
vrf - Pedersen VRF configured by the G1 generator for public key certs.
- thin_
vrf - Then VRF configured by the G1 generator for signatures.
Type Aliases§
- Public
KeyG1 - Incomplete public key living only on G1, not useful for aggregation but useful for end verifiers.
- Signature
Result