From 275f586b60fa9b7d1a749d9713265de7c96b1304 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 25 Mar 2024 13:42:58 +0800 Subject: [PATCH] add back in bits_le needed for software fallback --- curve25519-dalek/src/scalar.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/curve25519-dalek/src/scalar.rs b/curve25519-dalek/src/scalar.rs index def7cec..7a76eb4 100644 --- a/curve25519-dalek/src/scalar.rs +++ b/curve25519-dalek/src/scalar.rs @@ -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 + '_ { (0..256).map(|i| { // As i runs from 0..256, the bottom 3 bits index the bit, while the upper bits index