Skip to content

Commit e08a2d0

Browse files
committed
Fix spelling: almost_montgomery_mul
1 parent 38df762 commit e08a2d0

File tree

1 file changed

+1
-1
lines changed
  • src/modular/boxed_monty_form

1 file changed

+1
-1
lines changed

src/modular/boxed_monty_form/pow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ fn pow_montgomery_form(
113113

114114
// Ensure the output is properly reduced.
115115
//
116-
// Using the properties of `almost_mongtomery_mul()` (see its documentation):
116+
// Using the properties of `almost_montgomery_mul()` (see its documentation):
117117
// - We have an incoming `x` which is fully reduced (`floor(x / modulus) = 0`).
118118
// - We build an array of `powers` which are produced by multiplying the previous power by `x`,
119119
// so for each power `floor(power / modulus) <= 1`.

0 commit comments

Comments
 (0)