Skip to content

Commit cb6ba81

Browse files
committed
Fix comment
Signed-off-by: lovesh <lovesh.bond@gmail.com>
1 parent f00a481 commit cb6ba81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bbs_plus/src/setup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ impl<E: Pairing> SignatureParams23G1<E> {
518518
/// This is useful if people need to be convinced that the discrete log of group elements wrt each other is not known.
519519
pub fn new<D: Digest>(label: &[u8], message_count: u32) -> Self {
520520
assert_ne!(message_count, 0);
521-
// Group element by hashing `label`||`g1` as string.
521+
// Group element by hashing `label`||`g1`, `label`||`g2` and `label`||`h_i` for i in 1 to message_count.
522522
let (g1, g2, h) = join!(
523523
affine_group_element_from_byte_slices!(label, b" : g1"),
524524
affine_group_element_from_byte_slices!(label, b" : g2"),

0 commit comments

Comments
 (0)