Skip to content

Commit

Permalink
Merge pull request #61 from rex4539/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
str4d authored May 29, 2019
2 parents 2d97ccb + 63be3c9 commit 0ee1e81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bellman/src/groth16/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ pub fn generate_parameters<E, C>(
&worker
);

// Evaluate for auxillary variables.
// Evaluate for auxiliary variables.
eval(
&g1_wnaf,
&g2_wnaf,
Expand Down
2 changes: 1 addition & 1 deletion bellman/src/groth16/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ pub struct Parameters<E: Engine> {
pub h: Arc<Vec<E::G1Affine>>,

// Elements of the form (beta * u_i(tau) + alpha v_i(tau) + w_i(tau)) / delta
// for all auxillary inputs. Variables can never be unconstrained, so this
// for all auxiliary inputs. Variables can never be unconstrained, so this
// never contains points at infinity.
pub l: Arc<Vec<E::G1Affine>>,

Expand Down
6 changes: 3 additions & 3 deletions bellman/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl Variable {
}

/// Represents the index of either an input variable or
/// auxillary variable.
/// auxiliary variable.
#[derive(Copy, Clone, PartialEq, Debug)]
pub enum Index {
Input(usize),
Expand Down Expand Up @@ -190,7 +190,7 @@ pub enum SynthesisError {
IoError(io::Error),
/// During verification, our verifying key was malformed.
MalformedVerifyingKey,
/// During CRS generation, we observed an unconstrained auxillary variable
/// During CRS generation, we observed an unconstrained auxiliary variable
UnconstrainedVariable
}

Expand All @@ -210,7 +210,7 @@ impl Error for SynthesisError {
SynthesisError::UnexpectedIdentity => "encountered an identity element in the CRS",
SynthesisError::IoError(_) => "encountered an I/O error",
SynthesisError::MalformedVerifyingKey => "malformed verifying key",
SynthesisError::UnconstrainedVariable => "auxillary variable was unconstrained"
SynthesisError::UnconstrainedVariable => "auxiliary variable was unconstrained"
}
}
}
Expand Down

0 comments on commit 0ee1e81

Please sign in to comment.