diff --git a/curve25519-dalek/README.md b/curve25519-dalek/README.md index 1316dbac8..7984da42b 100644 --- a/curve25519-dalek/README.md +++ b/curve25519-dalek/README.md @@ -82,7 +82,7 @@ Curve arithmetic is implemented and used by one of the following backends: | Backend | Selection | Implementation | Bits / Word sizes | | :--- | :--- | :--- | :--- | -| `serial` | Automatic | An optimized, non-parllel implementation | `32` and `64` | +| `serial` | Automatic | An optimized, non-parallel implementation | `32` and `64` | | `fiat` | Manual | Formally verified field arithmetic from [fiat-crypto] | `32` and `64` | | `simd` | Automatic | Intel AVX2 accelerated backend | `64` only | | `unstable_avx512` | Manual | Intel AVX512 IFMA accelerated backend (requires nightly) | `64` only | diff --git a/curve25519-dalek/src/backend/vector/scalar_mul/pippenger.rs b/curve25519-dalek/src/backend/vector/scalar_mul/pippenger.rs index ed89cdefe..789376534 100644 --- a/curve25519-dalek/src/backend/vector/scalar_mul/pippenger.rs +++ b/curve25519-dalek/src/backend/vector/scalar_mul/pippenger.rs @@ -89,7 +89,7 @@ pub mod spec { // Iterate over pairs of (point, scalar) // and add/sub the point to the corresponding bucket. // Note: if we add support for precomputed lookup tables, - // we'll be adding/subtractiong point premultiplied by `digits[i]` to buckets[0]. + // we'll be adding/subtracting point premultiplied by `digits[i]` to buckets[0]. for (digits, pt) in scalars_points.iter() { // Widen digit so that we don't run into edge cases when w=8. let digit = digits[digit_index] as i16; diff --git a/curve25519-dalek/src/edwards.rs b/curve25519-dalek/src/edwards.rs index 1e9444741..96b1c92fa 100644 --- a/curve25519-dalek/src/edwards.rs +++ b/curve25519-dalek/src/edwards.rs @@ -1079,7 +1079,7 @@ macro_rules! impl_basepoint_table { (&<$point>::identity() + &self.0[0].select(1)).as_extended() } - /// The computation uses Pippeneger's algorithm, as described for the + /// The computation uses Pippenger's algorithm, as described for the /// specific case of radix-16 on page 13 of the Ed25519 paper. /// /// # Piggenger's Algorithm Generalised