Searched refs:DecryptionMode (Results 1 – 5 of 5) sorted by relevance
/system/keymint/common/src/crypto/ |
D | rsa.rs | 140 pub enum DecryptionMode { enum 154 impl DecryptionMode { impl 159 PaddingMode::None => Ok(DecryptionMode::NoPadding), in new() 163 Ok(DecryptionMode::OaepPadding { msg_digest, mgf_digest }) in new() 165 PaddingMode::RsaPkcs115Encrypt => Ok(DecryptionMode::Pkcs1_1_5Padding), in new()
|
D | traits.rs | 282 mode: rsa::DecryptionMode, in begin_decrypt() argument 609 _mode: rsa::DecryptionMode, in begin_decrypt() argument
|
/system/keymint/boringssl/src/ |
D | rsa.rs | 25 rsa::{DecryptionMode, SignMode, PKCS1_UNDIGESTED_SIGNATURE_PADDING_OVERHEAD}, 88 mode: DecryptionMode, in begin_decrypt() argument 125 mode: DecryptionMode, 146 DecryptionMode::NoPadding => openssl::rsa::Padding::NONE, in finish() 147 DecryptionMode::OaepPadding { msg_digest: _, mgf_digest: _ } => { in finish() 150 DecryptionMode::Pkcs1_1_5Padding => openssl::rsa::Padding::PKCS1, in finish() 156 if let DecryptionMode::OaepPadding { msg_digest, mgf_digest } = self.mode { in finish() 174 if self.mode == DecryptionMode::NoPadding && self.pending_input.len() < buf_len { in finish()
|
/system/keymint/common/src/ |
D | tag.rs | 19 crypto::{rsa::DecryptionMode, *}, 1325 ) -> Result<DecryptionMode, Error> { in check_rsa_wrapping_key_params() argument 1381 let rsa_oaep_decrypt_mode = DecryptionMode::OaepPadding { msg_digest, mgf_digest: *mgf_digest }; in check_rsa_wrapping_key_params()
|
/system/keymint/ta/src/ |
D | operation.rs | 383 let mode = crypto::rsa::DecryptionMode::new(¶ms)?; in begin_operation()
|