Home
last modified time | relevance | path

Searched refs:from_usize_bits (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/ring/src/
Dbits.rs24 pub const fn from_usize_bits(bits: usize) -> Self { in from_usize_bits() method
31 Ok(Self::from_usize_bits(bits)) in from_usize_bytes()
Drsa.rs40 const PRIVATE_KEY_PUBLIC_MODULUS_MAX_BITS: bits::BitLength = bits::BitLength::from_usize_bits(4096);
Dlimb.rs120 return bits::BitLength::from_usize_bits( in limbs_minimal_bits()
128 bits::BitLength::from_usize_bits(0) in limbs_minimal_bits()
Dtest.rs260 bits::BitLength::from_usize_bits(bits) in consume_usize_bits()
/external/rust/crates/ring/src/rsa/
Dverification.rs55 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),
Dsigning.rs236 bits::BitLength::from_usize_bits(2048), in from_der_reader()
/external/rust/crates/ring/src/aead/
Daes.rs122 Variant::AES_128 => BitLength::from_usize_bits(128), in new()
123 Variant::AES_256 => BitLength::from_usize_bits(256), in new()