Home
last modified time | relevance | path

Searched refs:KM_ENUM (Results 1 – 13 of 13) sorted by relevance

/system/keymaster/include/keymaster/
Dkeymaster_tags.h60 static const keymaster_tag_t KM_TAG_DIGEST_OLD = static_cast<keymaster_tag_t>(KM_ENUM | 5);
61 static const keymaster_tag_t KM_TAG_PADDING_OLD = static_cast<keymaster_tag_t>(KM_ENUM | 7);
106 StaticAssert<(tag_type != KM_ENUM) && (tag_type != KM_ENUM_REP)>::check();
124 StaticAssert<(tag_type == KM_ENUM) || (tag_type == KM_ENUM_REP)>::check();
203 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ALGORITHM, keymaster_algorithm_t);
206 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_DIGEST_OLD, keymaster_digest_t);
208 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_PADDING_OLD, keymaster_padding_t);
209 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_BLOB_USAGE_REQUIREMENTS,
211 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ORIGIN, keymaster_key_origin_t);
212 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_USER_AUTH_TYPE, hw_authenticator_type_t);
[all …]
Dauthorization_set.h248 bool Contains(TypedEnumTag<KM_ENUM, Tag, T> tag, T val) const { in Contains() argument
302 bool GetTagValue(TypedEnumTag<KM_ENUM, Tag, T> tag, T* val) const { in GetTagValue() argument
/system/keymaster/android_keymaster/
Dkeymaster_tags.cpp241 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ALGORITHM, keymaster_algorithm_t);
244 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_DIGEST_OLD, keymaster_digest_t);
246 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_PADDING_OLD, keymaster_padding_t);
247 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_BLOB_USAGE_REQUIREMENTS,
249 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ORIGIN, keymaster_key_origin_t);
250 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_USER_AUTH_TYPE, hw_authenticator_type_t);
252 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_EC_CURVE, keymaster_ec_curve_t);
Dauthorization_set.cpp296 case KM_ENUM: in serialized_size()
321 case KM_ENUM: in serialize()
356 case KM_ENUM: in deserialize()
/system/keymaster/ng/
DKeyMintAidlUtils.cpp63 case KM_ENUM: in kmParamSet2Aidl()
107 case KM_ENUM: in aidlKeyParams2Km()
DKeyMintUtils.cpp129 case KM_ENUM: in kmParam2Aidl()
191 case KM_ENUM: in aidlKeyParams2Km()
DAndroidKeymaster3Device.cpp93 case KM_ENUM: in KmParamSet()
176 case KM_ENUM: in kmParamSet2Hidl()
DAndroidKeymaster4Device.cpp129 case KM_ENUM: in kmParamSet2Hidl()
184 case KM_ENUM: in hidlKeyParams2Km()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp81 case KM_ENUM: in KmParamSet()
165 case KM_ENUM: in kmParamSet2Hidl()
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp133 case KM_ENUM: in KmParamSet()
217 case KM_ENUM: in kmParamSet2Hidl()
/system/keymaster/tests/
Dandroid_keymaster_test_utils.h57 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM, Tag, KeymasterEnum> tag, in contains() argument
Dandroid_keymaster_test_utils.cpp54 case KM_ENUM: in operator <<()
102 case KM_ENUM: in operator ==()
/system/keymaster/km_openssl/
Dattestation_record.cpp87 case KM_ENUM: in get_uint32_value()
148 case KM_ENUM: in insert_unknown_tag()
715 case KM_ENUM: in build_auth_list()