Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/core/machine/src/operations/cmp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl<F: Field> GtColsBytes<F> {

// Check the flags are of valid form.

// Verrify that only one flag is set to one.
// Verify that only one flag is set to one.
let mut sum_flags: AB::Expr = AB::Expr::zero();
for &flag in cols.byte_flags.iter() {
// Assert that the flag is boolean.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ pub struct LexicographicChoiceCols<T, P: FieldParameters + NumWords> {
pub enum SignChoiceRule {
/// Lease significant bit convention.
///
/// In this convention, the `sign_bit` matches the pairty of the `y` value. This is the
/// In this convention, the `sign_bit` matches the paкity of the `y` value. This is the
/// convention used in the ECDSA signature scheme, for example, in the secp256k1 curve.
LeastSignificantBit,
/// Lexicographic convention.
///
/// In this convention, the `sign_bit` corresponds to whether the `y` value is larger than its
/// negative counterpart with respect to the embedding of ptime field elements as integers.
/// This onvention used in the BLS signature scheme, for example, in the BLS12-381 curve.
/// This convention used in the BLS signature scheme, for example, in the BLS12-381 curve.
Lexicographic,
}

Expand Down