Skip to main content

filecoin_f3_blssig/
lib.rs

1// Copyright 2019-2024 ChainSafe Systems
2// SPDX-License-Identifier: Apache-2.0, MIT
3
4//! BLS signature implementation using BDN aggregation scheme.
5//!
6//! This module implements the BLS signature scheme used in the Filecoin F3 protocol.
7//! It uses the BLS12_381 curve with G1 for public keys and G2 for signatures.
8//! The BDN (Boneh-Drijvers-Neven) scheme is used for signature and public key aggregation
9//! to prevent rogue public-key attacks.
10
11mod bdn;
12mod verifier;
13
14pub use verifier::{BLSError, BLSVerifier};