Searched refs:Sha256 (Results 1 – 12 of 12) sorted by relevance
/system/keymint/common/src/tag/ |
D | tests.rs | 58 KeyParam::Digest(Digest::Sha256), in test_check_begin_params_fail() 67 vec![KeyParam::Digest(Digest::Sha256), KeyParam::MacLength(160)], in test_check_begin_params_fail() 70 (KeyPurpose::Sign, vec![KeyParam::Digest(Digest::Sha256)], "MissingMacLength"), in test_check_begin_params_fail()
|
/system/keymint/tests/src/ |
D | lib.rs | 159 digest: Digest::Sha256, in test_hmac() 174 digest: Digest::Sha256, in test_hmac() 193 digest: Digest::Sha256, in test_hmac() 237 digest: Digest::Sha256, in test_hmac() 281 digest: Digest::Sha256, in test_hmac()
|
/system/keymint/ta/src/ |
D | secret.rs | 78 let mut hmac_op = imp.begin(self.key.clone().into(), Digest::Sha256)?; in hmac()
|
D | keys.rs | 189 .begin_sign(key, rsa::SignMode::Pkcs1_1_5Padding(Digest::Sha256))?; in sign_cert_data() 198 Digest::Sha256 in sign_cert_data() 225 let mut hmac_op = self.imp.hmac.begin(hbk.into(), Digest::Sha256)?; in calculate_unique_id()
|
D | rkp.rs | 39 KeyParam::Digest(Digest::Sha256),
|
D | lib.rs | 452 self.imp.hmac.begin(crypto::hmac::Key(vec_try![0; 16]?).into(), Digest::Sha256)?; in key_id()
|
/system/keymint/boringssl/src/ |
D | hmac.rs | 111 Digest::Sha256 => Ok(ffi::EVP_sha256()), in digest_into_openssl_ffi()
|
D | lib.rs | 129 Digest::Sha256 => Some(MessageDigest::sha256()), in digest_into_openssl()
|
/system/keymint/common/src/keyblob/ |
D | legacy.rs | 237 kmr_wire::keymint::Digest::Sha256, in compute_hmac()
|
/system/keymint/common/src/ |
D | tag.rs | 1297 Digest::Sha256 => Ok(256), in digest_len() 1323 if msg_digest != Digest::Sha256 { in check_rsa_wrapping_key_params()
|
D | crypto.rs | 449 let mut op = hmac.begin(hmac::Key(crate::try_to_vec(key)?).into(), Digest::Sha256)?; in hmac_sha256()
|
/system/keymint/wire/src/ |
D | keymint.rs | 149 Sha256 = 4, enumerator
|