Skip to content

Commit

Permalink
fix typo (microsoft#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
3for authored Jul 7, 2023
1 parent e76e6bc commit dd3b1a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ where
let mut t = [0u8; 80];
rng.fill_bytes(&mut t[..]);

// h = H*(T || M)
// h = H(T || M)
let h = Self::hash_to_scalar(b"Nova_Ecdsa_Hash", &t[..], c.to_repr().as_mut());

// R = [h]G
Expand Down
2 changes: 1 addition & 1 deletion src/gadgets/r1cs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl<G: Group> AllocatedRelaxedR1CSInstance<G> {
}

/// Allocates the hardcoded default RelaxedR1CSInstance in the circuit.
/// W = E = 0, u = 1, X0 = X1 = 0
/// W = E = 0, u = 0, X0 = X1 = 0
pub fn default<CS: ConstraintSystem<<G as Group>::Base>>(
mut cs: CS,
limb_width: usize,
Expand Down
2 changes: 1 addition & 1 deletion src/nifs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ impl<G: Group> NIFS<G> {
))
}

/// Takes as input a relaxed R1CS instance `U1` and and R1CS instance `U2`
/// Takes as input a relaxed R1CS instance `U1` and R1CS instance `U2`
/// with the same shape and defined with respect to the same parameters,
/// and outputs a folded instance `U` with the same shape,
/// with the guarantee that the folded instance `U`
Expand Down

0 comments on commit dd3b1a2

Please sign in to comment.