Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
Signed-off-by: lovesh <[email protected]>
  • Loading branch information
lovesh committed Sep 7, 2023
1 parent f00a481 commit cb6ba81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbs_plus/src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ impl<E: Pairing> SignatureParams23G1<E> {
/// This is useful if people need to be convinced that the discrete log of group elements wrt each other is not known.
pub fn new<D: Digest>(label: &[u8], message_count: u32) -> Self {
assert_ne!(message_count, 0);
// Group element by hashing `label`||`g1` as string.
// Group element by hashing `label`||`g1`, `label`||`g2` and `label`||`h_i` for i in 1 to message_count.
let (g1, g2, h) = join!(
affine_group_element_from_byte_slices!(label, b" : g1"),
affine_group_element_from_byte_slices!(label, b" : g2"),
Expand Down

0 comments on commit cb6ba81

Please sign in to comment.