Searched refs:padding_alg (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/ring/src/rsa/ |
D | convert_nist_rsa_test_vectors.py | 82 def print_sign_test(case, n, e, d, padding_alg): argument 101 if padding_alg == 'PKCS#1 1.5': 106 elif padding_alg == "PSS": 123 if padding_alg == "PSS": 146 def main(fn, test_type, padding_alg): argument 150 { "fn": fn, "padding_alg": padding_alg }) 177 if padding_alg == "PSS": 188 if padding_alg == "PSS": 213 print_sign_test(case, n, e, d, padding_alg)
|
D | verification.rs | 115 padding_alg: $PADDING_ALGORITHM, 314 let m_hash = digest::digest(params.padding_alg.digest_alg(), msg.as_slice_less_safe()); in verify_rsa_() 316 params.padding_alg.verify(&m_hash, m, n_bits) in verify_rsa_()
|
D | signing.rs | 536 padding_alg: &'static dyn RsaEncoding, in sign() 546 let m_hash = digest::digest(padding_alg.digest_alg(), msg); in sign() 547 padding_alg.encode(&m_hash, signature, mod_bits, rng)?; in sign()
|
/external/rust/crates/ring/src/ |
D | rsa.rs | 45 padding_alg: &'static dyn padding::Verification, field
|