mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-05 20:30:57 +00:00
change LSB to least significant bit
This commit is contained in:
parent
68bbd1bd03
commit
1464c4101d
1 changed files with 2 additions and 1 deletions
|
|
@ -534,7 +534,8 @@ impl Scalar {
|
|||
/// \\( \bar x \\) with \\( \bar x \equiv x \pmod{2^w} \\) and
|
||||
/// \\( -2^{w-1} \leq \bar x < 2^w \\).
|
||||
///
|
||||
/// We implement this by scanning across the bits of \\(k\\) from LSB to MSB.
|
||||
/// We implement this by scanning across the bits of \\(k\\) from
|
||||
/// least-significant bit to most-significant-bit.
|
||||
/// Write the bits of \\(k\\) as
|
||||
/// $$
|
||||
/// k = \sum\_{i=0}\^m k\_i 2^i,
|
||||
|
|
|
|||
Loading…
Reference in a new issue