/system/keymint/common/src/ |
D | crypto.rs | 55 Hmac(KeySizeInBits), enumerator 117 Hmac(OpaqueOr<hmac::Key>), enumerator 138 Self::Aes(_) | Self::TripleDes(_) | Self::Hmac(_) => false, in is_asymmetric() 189 Self::Hmac(_) => f.write_str("Hmac(...)"), in fmt() 239 x if x == Algorithm::Hmac as i32 => { in from_cbor_value() 242 Ok(Self::Hmac(OpaqueKeyMaterial(raw_key).into())) in from_cbor_value() 244 Ok(Self::Hmac(hmac::Key(raw_key).into())) in from_cbor_value() 313 Self::Hmac(OpaqueOr::Opaque(OpaqueKeyMaterial(k))) => vec_try![ in to_cbor_value() 314 cbor::value::Value::Integer((Algorithm::Hmac as i32).into()), in to_cbor_value() 356 Self::Hmac(OpaqueOr::Explicit(k)) => vec_try![ in to_cbor_value() [all …]
|
D | tag.rs | 264 Algorithm::Hmac => check_hmac_gen_params(params, sec_level), in extract_key_gen_characteristics() 284 Algorithm::Hmac => { in extract_key_import_characteristics() 779 Ok(KeyGenInfo::Hmac(key_size)) in check_hmac_gen_params() 785 hmac: &dyn Hmac, in check_hmac_import_params() argument 942 | (Algorithm::Hmac, KeyPurpose::Sign) in check_begin_params() 943 | (Algorithm::Hmac, KeyPurpose::Verify) in check_begin_params() 982 Algorithm::Hmac => check_begin_hmac_params(chars, purpose, params), in check_begin_params()
|
/system/core/trusty/confirmationui/ |
D | NotSoSecureInput.cpp | 33 using teeui::Hmac; 42 static optional<Hmac> hmac256(const AuthTokenKey& key, in hmac256() 54 Hmac result; in hmac256()
|
/system/keymint/common/src/keyblob/ |
D | legacy.rs | 168 pub fn serialize<H: crypto::Hmac>( in serialize() 193 pub fn deserialize<E: crypto::ConstTimeEq, H: crypto::Hmac>( in deserialize() 229 pub fn compute_hmac<H: crypto::Hmac>( in compute_hmac()
|
/system/keymint/common/src/crypto/ |
D | traits.rs | 28 pub hmac: &'a dyn Hmac, 176 pub trait Hmac { interface 190 Ok(KeyMaterial::Hmac(hmac::Key::new(key).into())) in generate_key() 203 Ok((KeyMaterial::Hmac(hmac_key.into()), key_size)) in import_key() 541 impl Hmac for NoOpHmac {
|
/system/keymint/tests/src/bin/ |
D | auth-keyblob-parse.rs | 106 Algorithm::Hmac => KeyMaterial::Hmac(hmac::Key(raw_key).into()), in process()
|
/system/keymint/ta/src/ |
D | device.rs | 95 fn hmac(&self, imp: &dyn crypto::Hmac, data: &[u8]) -> Result<Vec<u8>, Error>; in hmac() argument 184 hmac: &dyn crypto::Hmac, in compute_hmac_sha256() argument
|
D | secret.rs | 77 fn hmac(&self, imp: &dyn crypto::Hmac, data: &[u8]) -> Result<Vec<u8>, Error> { in hmac() argument
|
D | keys.rs | 263 crypto::KeyGenInfo::Hmac(key_size) => { in generate_key_material()
|
D | operation.rs | 324 KeyMaterial::Hmac(key) => { in begin_operation()
|
/system/keymint/boringssl/src/ |
D | hmac.rs | 13 impl crypto::Hmac for BoringHmac {
|
/system/keymint/common/src/tag/ |
D | tests.rs | 56 KeyParam::Algorithm(Algorithm::Hmac), in test_check_begin_params_fail()
|
/system/keymint/tests/src/ |
D | lib.rs | 5 aes, des, hmac, Aes, AesCmac, Ckdf, ConstTimeEq, Des, Hkdf, Hmac, MonotonicClock, Rng, 68 pub fn test_hkdf<H: Hmac>(hmac: H) { in test_hkdf() 148 pub fn test_hmac<H: Hmac>(hmac: H) { in test_hmac()
|
/system/teeui/libteeui/include/teeui/ |
D | generic_operation.h | 269 optional<Hmac> confirmationTokenScratchpad_;
|
D | utils.h | 124 using Hmac = AuthTokenKey; variable 134 static optional<Hmac> hmac256(const AuthTokenKey& key, const Data&... data) { in hmac256()
|
/system/keymint/wire/src/ |
D | keymint.rs | 116 Hmac = 128, enumerator
|