From 63be3c94704fbeb36177340c2b4a5ef611745411 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Mon, 18 Feb 2019 13:17:49 +0200 Subject: [PATCH] Fix typos --- bellman/src/groth16/generator.rs | 2 +- bellman/src/groth16/mod.rs | 2 +- bellman/src/lib.rs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bellman/src/groth16/generator.rs b/bellman/src/groth16/generator.rs index 1eed62d..b1044de 100644 --- a/bellman/src/groth16/generator.rs +++ b/bellman/src/groth16/generator.rs @@ -430,7 +430,7 @@ pub fn generate_parameters( &worker ); - // Evaluate for auxillary variables. + // Evaluate for auxiliary variables. eval( &g1_wnaf, &g2_wnaf, diff --git a/bellman/src/groth16/mod.rs b/bellman/src/groth16/mod.rs index 3b8d671..d960e50 100644 --- a/bellman/src/groth16/mod.rs +++ b/bellman/src/groth16/mod.rs @@ -221,7 +221,7 @@ pub struct Parameters { pub h: Arc>, // 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>, diff --git a/bellman/src/lib.rs b/bellman/src/lib.rs index fb8d043..738e19a 100644 --- a/bellman/src/lib.rs +++ b/bellman/src/lib.rs @@ -51,7 +51,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), @@ -181,7 +181,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 } @@ -201,7 +201,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" } } }