mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-06 20:41:14 +00:00
Fix the upper bound in the description of mods (#525)
This commit is contained in:
parent
267961b7ee
commit
6c2233bc45
1 changed files with 1 additions and 1 deletions
|
|
@ -877,7 +877,7 @@ impl Scalar {
|
||||||
///
|
///
|
||||||
/// Here \\( \bar x = x \operatorname{mods} 2^w \\) means the
|
/// Here \\( \bar x = x \operatorname{mods} 2^w \\) means the
|
||||||
/// \\( \bar x \\) with \\( \bar x \equiv x \pmod{2^w} \\) and
|
/// \\( \bar x \\) with \\( \bar x \equiv x \pmod{2^w} \\) and
|
||||||
/// \\( -2^{w-1} \leq \bar x < 2^w \\).
|
/// \\( -2^{w-1} \leq \bar x < 2^{w-1} \\).
|
||||||
///
|
///
|
||||||
/// We implement this by scanning across the bits of \\(k\\) from
|
/// We implement this by scanning across the bits of \\(k\\) from
|
||||||
/// least-significant bit to most-significant-bit.
|
/// least-significant bit to most-significant-bit.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue