mirror of
https://github.com/saymrwulf/betrusted-curve25519-dalek-source.git
synced 2026-09-05 20:30:54 +00:00
add back in bits_le
needed for software fallback
This commit is contained in:
parent
63a24a80b6
commit
275f586b60
1 changed files with 0 additions and 1 deletions
|
|
@ -844,7 +844,6 @@ impl Scalar {
|
|||
}
|
||||
|
||||
/// Get the bits of the scalar, in little-endian order
|
||||
#[cfg(not(curve25519_dalek_backend = "u32e_backend"))]
|
||||
pub(crate) fn bits_le(&self) -> impl DoubleEndedIterator<Item = bool> + '_ {
|
||||
(0..256).map(|i| {
|
||||
// As i runs from 0..256, the bottom 3 bits index the bit, while the upper bits index
|
||||
|
|
|
|||
Loading…
Reference in a new issue