Home
last modified time | relevance | path

Searched refs:Sha256 (Results 1 – 12 of 12) sorted by relevance

/system/keymint/common/src/tag/
Dtests.rs58 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/
Dlib.rs159 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/
Dsecret.rs78 let mut hmac_op = imp.begin(self.key.clone().into(), Digest::Sha256)?; in hmac()
Dkeys.rs189 .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()
Drkp.rs39 KeyParam::Digest(Digest::Sha256),
Dlib.rs452 self.imp.hmac.begin(crypto::hmac::Key(vec_try![0; 16]?).into(), Digest::Sha256)?; in key_id()
/system/keymint/boringssl/src/
Dhmac.rs111 Digest::Sha256 => Ok(ffi::EVP_sha256()), in digest_into_openssl_ffi()
Dlib.rs129 Digest::Sha256 => Some(MessageDigest::sha256()), in digest_into_openssl()
/system/keymint/common/src/keyblob/
Dlegacy.rs237 kmr_wire::keymint::Digest::Sha256, in compute_hmac()
/system/keymint/common/src/
Dtag.rs1297 Digest::Sha256 => Ok(256), in digest_len()
1323 if msg_digest != Digest::Sha256 { in check_rsa_wrapping_key_params()
Dcrypto.rs449 let mut op = hmac.begin(hmac::Key(crate::try_to_vec(key)?).into(), Digest::Sha256)?; in hmac_sha256()
/system/keymint/wire/src/
Dkeymint.rs149 Sha256 = 4, enumerator