Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
BasileiosKal committed Jun 18, 2024
1 parent 59cdc89 commit a7f54d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/schemes/bbs/core/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ impl Proof {
/// * (5 + U)` where `OCTET_POINT_G1_LENGTH`, size of a point in `G1` in
/// ompressed form, `OCTET_SCALAR_LENGTH`, size of a `Scalar`, and `U` is
/// the number of hidden messages.
///
/// For BLS12-381 based implementation, OCTET_POINT_G1_LENGTH is 48 byes,
/// and OCTET_SCALAR_LENGTH is 32 bytes, then bytes sequence will be
/// treated as [48, 48, 32, 32, 32, 32*U ] to represent
Expand Down
7 changes: 1 addition & 6 deletions src/schemes/bls/ciphersuites.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::{
common::hash_param::h2c::HashToCurveParameter,
curves::bls12_381::{G1Projective, G2Projective},
curves::bls12_381::G1Projective,
};
use group::Group;

Expand All @@ -20,11 +20,6 @@ pub(crate) trait BlsCiphersuiteParameters: HashToCurveParameter {
fn p1() -> G1Projective {
G1Projective::generator()
}

/// Point on G2 to be used during signature and proof verification.
fn p2() -> G2Projective {
G2Projective::generator()
}
}

pub(crate) trait BlsSigAugCiphersuiteParameters:
Expand Down

0 comments on commit a7f54d7

Please sign in to comment.