diff --git a/src/uint/bits.rs b/src/uint/bits.rs index 9e6c1d71..da514058 100644 --- a/src/uint/bits.rs +++ b/src/uint/bits.rs @@ -2,6 +2,9 @@ use crate::{CtChoice, Limb, Uint, Word}; impl Uint { /// Returns `true` if the bit at position `index` is set, `false` otherwise. + /// + /// # Remarks + /// This operation is variable time with respect to `index` only. #[inline(always)] pub const fn bit_vartime(&self, index: usize) -> bool { if index >= Self::BITS {