diff --git a/node/libs/crypto/src/bls12_381/mod.rs b/node/libs/crypto/src/bls12_381/mod.rs index 5fd95eb9..8a0a2682 100644 --- a/node/libs/crypto/src/bls12_381/mod.rs +++ b/node/libs/crypto/src/bls12_381/mod.rs @@ -1,4 +1,4 @@ -//! BLS12-381 signature scheme. +//! This module implements the BLS signature over the BLS12_381 curve. //! This is just an adapter of `blst`, exposing zksync-bft-specific API. use crate::ByteFmt; diff --git a/node/libs/crypto/src/bn254/mod.rs b/node/libs/crypto/src/bn254/mod.rs index f781b91e..50ff3636 100644 --- a/node/libs/crypto/src/bn254/mod.rs +++ b/node/libs/crypto/src/bn254/mod.rs @@ -1,4 +1,4 @@ -//! BLS signature scheme for the BN254 curve. +//! This module implements the BLS signature over the BN254 curve. //! //! Disclaimer: the implementation of the pairing-friendly elliptic curve does not run in constant time, //! hence it does not protect the secret key from side-channel attacks.