Searched refs:p_bits (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/ring/src/rsa/ |
D | signing.rs | 198 let (p, p_bits) = bigint::Nonnegative::from_be_bytes_with_bit_length(p) in from_der_reader() 207 let ((p, p_bits, dP), (q, q_bits, dQ, qInv)) = match q.verify_less_than(&p) { in from_der_reader() 208 Ok(_) => ((p, p_bits, dP), (q, q_bits, dQ, Some(qInv))), in from_der_reader() 211 ((q, q_bits, dQ), (p, p_bits, dP, None)) in from_der_reader() 261 if p_bits != half_n_bits { in from_der_reader() 274 if p_bits != q_bits { in from_der_reader() 443 let (p, p_bits) = bigint::Modulus::from_nonnegative_with_bit_length(p)?; in new() 444 if p_bits.as_usize_bits() % 512 != 0 { in new()
|
/external/boringssl/src/crypto/fipsmodule/dh/ |
D | dh.c | 236 const unsigned p_bits = BN_num_bits(dh->p); in DH_generate_key() local 237 if (p_bits == 0) { in DH_generate_key() 241 priv_bits = p_bits - 1; in DH_generate_key()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/dh/ |
D | dh.c | 355 const unsigned p_bits = BN_num_bits(dh->p); in DH_generate_key() local 356 if (p_bits == 0) { in DH_generate_key() 360 priv_bits = p_bits - 1; in DH_generate_key()
|