add back in bits_le

needed for software fallback
This commit is contained in:
bunnie 2024-03-25 13:42:58 +08:00
parent 63a24a80b6
commit 275f586b60

View file

@ -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