Searched refs:from_usize_bits (Results 1 – 7 of 7) sorted by relevance
24 pub const fn from_usize_bits(bits: usize) -> Self { in from_usize_bits() method31 Ok(Self::from_usize_bits(bits)) in from_usize_bytes()
40 const PRIVATE_KEY_PUBLIC_MODULUS_MAX_BITS: bits::BitLength = bits::BitLength::from_usize_bits(4096);
120 return bits::BitLength::from_usize_bits( in limbs_minimal_bits()128 bits::BitLength::from_usize_bits(0) in limbs_minimal_bits()
260 bits::BitLength::from_usize_bits(bits) in consume_usize_bits()
55 const N_MIN_BITS: bits::BitLength = bits::BitLength::from_usize_bits(1024); in from_modulus_and_exponent()116 min_bits: bits::BitLength::from_usize_bits($min_bits),
236 bits::BitLength::from_usize_bits(2048), in from_der_reader()
122 Variant::AES_128 => BitLength::from_usize_bits(128), in new()123 Variant::AES_256 => BitLength::from_usize_bits(256), in new()