Searched refs:RsaOaepMgfDigest (Results 1 – 7 of 7) sorted by relevance
/system/keymint/common/src/ |
D | tag.rs | 211 Ok(*get_opt_tag_value!(params, RsaOaepMgfDigest)?.unwrap_or(&Digest::Sha1)) in get_mgf_digest() 1041 get_opt_tag_value!(params, RsaOaepMgfDigest, UnsupportedMgfDigest)?; in check_begin_params() 1044 chars.iter().any(|param| matches!(param, KeyParam::RsaOaepMgfDigest(_))); in check_begin_params() 1053 if !contains_tag_value!(chars, RsaOaepMgfDigest, *mgf_digest) { in check_begin_params() 1183 reject_tags(params, &[Tag::RsaOaepMgfDigest])?; in check_begin_aes_params() 1250 reject_tags(params, &[Tag::RsaOaepMgfDigest])?; in check_begin_3des_params() 1285 reject_tags(params, &[Tag::BlockMode, Tag::RsaOaepMgfDigest])?; in check_begin_hmac_params() 1346 let opt_mgf_digest = get_opt_tag_value!(params, RsaOaepMgfDigest)?; in check_rsa_wrapping_key_params() 1370 if !contains_tag_value!(chars, RsaOaepMgfDigest, *mgf_digest) { in check_rsa_wrapping_key_params()
|
/system/keymint/wire/src/ |
D | keymint.rs | 359 RsaOaepMgfDigest(Digest), enumerator 425 KeyParam::RsaOaepMgfDigest(_) => Tag::RsaOaepMgfDigest, in tag() 520 Tag::RsaOaepMgfDigest => KeyParam::RsaOaepMgfDigest(<Digest>::from_cbor_value(raw)?), in from_cbor_value() 641 KeyParam::RsaOaepMgfDigest(v) => (Tag::RsaOaepMgfDigest, v.to_cbor_value()?), in to_cbor_value() 784 Tag::RsaOaepMgfDigest as i32, in cddl_schema() 1136 RsaOaepMgfDigest = 536871115, enumerator
|
/system/keymint/common/src/tag/ |
D | legacy.rs | 177 KeyParam::RsaOaepMgfDigest(v) => { in serialize() 345 Tag::RsaOaepMgfDigest => KeyParam::RsaOaepMgfDigest( in deserialize() 536 (KeyParam::RsaOaepMgfDigest(l), KeyParam::RsaOaepMgfDigest(r)) => l.cmp(r), in param_compare()
|
D | info.rs | 71 Tag::RsaOaepMgfDigest, 377 Tag::RsaOaepMgfDigest,
|
/system/keymint/ta/src/ |
D | cert.rs | 624 RsaOaepMgfDigest, in decode_value() 773 Tag::RsaOaepMgfDigest => { in decode_value_from_bytes() 774 key_params_from_asn1_set_of_integer!(RsaOaepMgfDigest, tlv_bytes, key_params); in decode_value_from_bytes() 1071 + asn1_len(asn1_set_of_integer!(self.auths, RsaOaepMgfDigest))? in value_len() 1133 asn1_val(asn1_set_of_integer!(self.auths, RsaOaepMgfDigest), writer)?; in encode_value()
|
/system/keymint/hal/src/ |
D | hal.rs | 260 KeyParam::RsaOaepMgfDigest(v) => { in fromm() 530 Some(KeyParam::RsaOaepMgfDigest(value_of!(val, Digest)?.try_innto()?)) in try_fromm()
|
/system/security/keystore2/src/ |
D | key_parameter.rs | 844 RsaOaepMgfDigest(Digest),
|