Home
last modified time | relevance | path

Searched refs:mod_bits (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/ring/src/rsa/
Dpadding.rs38 mod_bits: bits::BitLength, in encode()
52 mod_bits: bits::BitLength, in verify()
95 mod_bits: bits::BitLength, in verify()
100 let calculated = &mut calculated[..mod_bits.as_usize_bytes_rounded_up()]; in verify()
241 mod_bits: bits::BitLength, in encode()
244 let metrics = PSSMetrics::new(self.digest_alg, mod_bits)?; in encode()
313 mod_bits: bits::BitLength, in verify()
315 let metrics = PSSMetrics::new(self.digest_alg, mod_bits)?; in verify()
412 mod_bits: bits::BitLength, in new()
414 let em_bits = mod_bits.try_sub_1()?; in new()
Dsigning.rs541 let mod_bits = self.public.n_bits; in sign() localVariable
542 if signature.len() != mod_bits.as_usize_bytes_rounded_up() { in sign()
547 padding_alg.encode(&m_hash, signature, mod_bits, rng)?; in sign()
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_rsa2_siggen_test.cc52 int mod_bits = strtoul(mod_str.c_str(), nullptr, 0); in TestRSA2SigGen() local
55 mod_bits == 0 || in TestRSA2SigGen()
56 !RSA_generate_key_fips(ctx->key.get(), mod_bits, nullptr)) { in TestRSA2SigGen()
/external/boringssl/src/util/fipstools/cavp/
Dcavp_rsa2_siggen_test.cc52 int mod_bits = strtoul(mod_str.c_str(), nullptr, 0); in TestRSA2SigGen() local
55 mod_bits == 0 || in TestRSA2SigGen()
56 !RSA_generate_key_fips(ctx->key.get(), mod_bits, nullptr)) { in TestRSA2SigGen()