We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f00a481 commit cb6ba81Copy full SHA for cb6ba81
bbs_plus/src/setup.rs
@@ -518,7 +518,7 @@ impl<E: Pairing> SignatureParams23G1<E> {
518
/// This is useful if people need to be convinced that the discrete log of group elements wrt each other is not known.
519
pub fn new<D: Digest>(label: &[u8], message_count: u32) -> Self {
520
assert_ne!(message_count, 0);
521
- // 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.
522
let (g1, g2, h) = join!(
523
affine_group_element_from_byte_slices!(label, b" : g1"),
524
affine_group_element_from_byte_slices!(label, b" : g2"),
0 commit comments