/system/keymint/common/src/ |
D | crypto.rs | 75 Hmac(KeySizeInBits), enumerator 149 Hmac(OpaqueOr<hmac::Key>), enumerator 172 Self::Aes(_) | Self::TripleDes(_) | Self::Hmac(_) => false, in is_asymmetric() 223 Self::Hmac(_) => f.write_str("Hmac(...)"), in fmt() 273 x if x == Algorithm::Hmac as i32 => { in from_cbor_value() 276 Ok(Self::Hmac(OpaqueKeyMaterial(raw_key).into())) in from_cbor_value() 278 Ok(Self::Hmac(hmac::Key(raw_key).into())) in from_cbor_value() 347 Self::Hmac(OpaqueOr::Opaque(OpaqueKeyMaterial(k))) => vec_try![ in to_cbor_value() 348 cbor::value::Value::Integer((Algorithm::Hmac as i32).into()), in to_cbor_value() 390 Self::Hmac(OpaqueOr::Explicit(k)) => vec_try![ in to_cbor_value() [all …]
|
D | tag.rs | 280 Algorithm::Hmac => check_hmac_gen_params(params, sec_level), in extract_key_gen_characteristics() 304 Algorithm::Hmac => { in extract_key_import_characteristics() 795 Ok(KeyGenInfo::Hmac(key_size)) in check_hmac_gen_params() 801 hmac: &dyn Hmac, in check_hmac_import_params() argument 958 | (Algorithm::Hmac, KeyPurpose::Sign) in check_begin_params() 959 | (Algorithm::Hmac, KeyPurpose::Verify) in check_begin_params() 998 Algorithm::Hmac => check_begin_hmac_params(chars, purpose, params), in check_begin_params()
|
/system/authgraph/boringssl/src/ |
D | hmac.rs | 21 traits::{Hkdf, Hmac, Sha256}, 29 impl Hmac for BoringHmac {
|
/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/authgraph/core/src/ |
D | traits.rs | 41 pub hmac: Box<dyn Hmac>, 126 pub trait Hmac: Send { trait
|
/system/keymint/common/src/keyblob/ |
D | legacy.rs | 198 pub fn serialize<H: crypto::Hmac>( in serialize() 223 pub fn deserialize<E: crypto::ConstTimeEq, H: crypto::Hmac>( in deserialize() 259 pub fn compute_hmac<H: crypto::Hmac>( in compute_hmac()
|
/system/keymint/common/src/crypto/ |
D | traits.rs | 42 pub hmac: Box<dyn Hmac>, 193 pub trait Hmac: Send { trait 207 Ok(KeyMaterial::Hmac(hmac::Key::new(key).into())) in generate_key() 220 Ok((KeyMaterial::Hmac(hmac_key.into()), key_size)) in import_key() 575 impl Hmac for NoOpHmac {
|
/system/keymint/tests/src/bin/ |
D | auth-keyblob-parse.rs | 111 Algorithm::Hmac => KeyMaterial::Hmac(hmac::Key(raw_key).into()), in process()
|
/system/keymint/tests/src/ |
D | lib.rs | 19 aes, des, hmac, Aes, AesCmac, Ckdf, ConstTimeEq, Des, Hkdf, Hmac, MonotonicClock, Rng, Sha256, 82 pub fn test_hkdf<H: Hmac>(hmac: H) { in test_hkdf() 162 pub fn test_hmac<H: Hmac>(hmac: H) { in test_hmac() 619 hmac: &dyn Hmac, in test_retrieve_rpc_artifacts() argument
|
/system/keymint/ta/src/ |
D | secret.rs | 91 fn hmac(&self, imp: &dyn crypto::Hmac, data: &[u8]) -> Result<Vec<u8>, Error> { in hmac() argument
|
D | device.rs | 109 fn hmac(&self, imp: &dyn crypto::Hmac, data: &[u8]) -> Result<Vec<u8>, Error>; in hmac() argument 200 hmac: &dyn crypto::Hmac, in compute_hmac_sha256() argument
|
D | keys.rs | 298 crypto::KeyGenInfo::Hmac(key_size) => { in generate_key_material()
|
D | operation.rs | 332 KeyMaterial::Hmac(key) => { in begin_operation()
|
/system/keymint/common/src/tag/ |
D | tests.rs | 70 KeyParam::Algorithm(Algorithm::Hmac), in test_check_begin_params_fail()
|
/system/keymint/boringssl/src/ |
D | hmac.rs | 29 impl crypto::Hmac for BoringHmac {
|
/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/authgraph/tests/src/ |
D | lib.rs | 10 AesGcm, Device, EcDh, EcDsa, Hkdf, Hmac, MonotonicClock, Rng, Sha256, 56 pub fn test_hmac<H: Hmac>(hmac: &H) { in test_hmac()
|
/system/keymint/wire/src/ |
D | keymint.rs | 136 Hmac = 128, enumerator
|