Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dkeymaster_tags.cpp205 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ALGORITHM, keymaster_algorithm_t);
208 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_DIGEST_OLD, keymaster_digest_t);
210 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_PADDING_OLD, keymaster_padding_t);
211 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_BLOB_USAGE_REQUIREMENTS,
213 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ORIGIN, keymaster_key_origin_t);
214 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_USER_AUTH_TYPE, hw_authenticator_type_t);
216 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_EC_CURVE, keymaster_ec_curve_t);
Dauthorization_set.cpp312 case KM_ENUM: in serialized_size()
337 case KM_ENUM: in serialize()
374 case KM_ENUM: in deserialize()
/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();
123 StaticAssert<(tag_type == KM_ENUM) || (tag_type == KM_ENUM_REP)>::check();
192 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ALGORITHM, keymaster_algorithm_t);
195 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_DIGEST_OLD, keymaster_digest_t);
197 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_PADDING_OLD, keymaster_padding_t);
198 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_BLOB_USAGE_REQUIREMENTS,
200 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ORIGIN, keymaster_key_origin_t);
201 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_USER_AUTH_TYPE, hw_authenticator_type_t);
[all …]
Dauthorization_set.h252 bool Contains(TypedEnumTag<KM_ENUM, Tag, T> tag, T val) const { in Contains() argument
307 bool GetTagValue(TypedEnumTag<KM_ENUM, Tag, T> tag, T* val) const { in GetTagValue() argument
/system/security/keystore/
Dlegacy_keymaster_device_wrapper.cpp75 case KM_ENUM: in KmParamSet()
173 case KM_ENUM: in kmParamSet2Hidl()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp81 case KM_ENUM: in KmParamSet()
165 case KM_ENUM: in kmParamSet2Hidl()
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp94 case KM_ENUM: in KmParamSet()
177 case KM_ENUM: in kmParamSet2Hidl()
DAndroidKeymaster4Device.cpp131 case KM_ENUM: in kmParamSet2Hidl()
186 case KM_ENUM: in hidlKeyParams2Km()
/system/keymaster/km_openssl/
Dattestation_record.cpp61 case KM_ENUM: in get_uint32_value()
286 case KM_ENUM: in build_auth_list()
/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.cpp52 case KM_ENUM: in operator <<()
99 case KM_ENUM: in operator ==()
Dandroid_keymaster_test_utils.h58 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM, Tag, KeymasterEnum> tag, in contains() argument