Home
last modified time | relevance | path

Searched refs:RsaOaepMgfDigest (Results 1 – 7 of 7) sorted by relevance

/system/keymint/wire/src/
Dkeymint.rs335 RsaOaepMgfDigest(Digest), enumerator
400 KeyParam::RsaOaepMgfDigest(_) => Tag::RsaOaepMgfDigest, in tag()
494 Tag::RsaOaepMgfDigest => KeyParam::RsaOaepMgfDigest(<Digest>::from_cbor_value(raw)?), in from_cbor_value()
614 KeyParam::RsaOaepMgfDigest(v) => (Tag::RsaOaepMgfDigest, v.to_cbor_value()?), in to_cbor_value()
782 Tag::RsaOaepMgfDigest as i32, in cddl_schema()
999 RsaOaepMgfDigest = 536871115, enumerator
/system/keymint/common/src/
Dtag.rs195 Ok(*get_opt_tag_value!(params, RsaOaepMgfDigest)?.unwrap_or(&Digest::Sha1)) in get_mgf_digest()
1025 get_opt_tag_value!(params, RsaOaepMgfDigest, UnsupportedMgfDigest)?; in check_begin_params()
1028 chars.iter().any(|param| matches!(param, KeyParam::RsaOaepMgfDigest(_))); in check_begin_params()
1037 if !contains_tag_value!(chars, RsaOaepMgfDigest, *mgf_digest) { in check_begin_params()
1167 reject_tags(params, &[Tag::RsaOaepMgfDigest])?; in check_begin_aes_params()
1234 reject_tags(params, &[Tag::RsaOaepMgfDigest])?; in check_begin_3des_params()
1269 reject_tags(params, &[Tag::BlockMode, Tag::RsaOaepMgfDigest])?; in check_begin_hmac_params()
1330 let opt_mgf_digest = get_opt_tag_value!(params, RsaOaepMgfDigest)?; in check_rsa_wrapping_key_params()
1354 if !contains_tag_value!(chars, RsaOaepMgfDigest, *mgf_digest) { in check_rsa_wrapping_key_params()
/system/keymint/common/src/tag/
Dlegacy.rs163 KeyParam::RsaOaepMgfDigest(v) => { in serialize()
335 Tag::RsaOaepMgfDigest => KeyParam::RsaOaepMgfDigest( in deserialize()
526 (KeyParam::RsaOaepMgfDigest(l), KeyParam::RsaOaepMgfDigest(r)) => l.cmp(r), in param_compare()
Dinfo.rs56 Tag::RsaOaepMgfDigest,
362 Tag::RsaOaepMgfDigest,
/system/keymint/ta/src/
Dcert.rs595 RsaOaepMgfDigest, in decode_value()
744 Tag::RsaOaepMgfDigest => { in decode_value_from_bytes()
745 key_params_from_asn1_set_of_integer!(RsaOaepMgfDigest, tlv_bytes, key_params); in decode_value_from_bytes()
1018 asn1_set_of_integer!(contents, self.auths, RsaOaepMgfDigest); in fields()
/system/keymint/hal/src/
Dhal.rs222 KeyParam::RsaOaepMgfDigest(v) => { in fromm()
491 Some(KeyParam::RsaOaepMgfDigest(value_of!(val, Digest)?.try_innto()?)) in try_fromm()
/system/security/keystore2/src/
Dkey_parameter.rs844 RsaOaepMgfDigest(Digest),