Home
last modified time | relevance | path

Searched refs:KM_ENUM (Results 1 – 11 of 11) 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();
123 StaticAssert<(tag_type == KM_ENUM) || (tag_type == KM_ENUM_REP)>::check();
188 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ALGORITHM, keymaster_algorithm_t);
191 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_DIGEST_OLD, keymaster_digest_t);
193 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_PADDING_OLD, keymaster_padding_t);
194 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_BLOB_USAGE_REQUIREMENTS,
196 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ORIGIN, keymaster_key_origin_t);
197 DECLARE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_USER_AUTH_TYPE, hw_authenticator_type_t);
[all …]
Dauthorization_set.h242 bool Contains(TypedEnumTag<KM_ENUM, Tag, T> tag, T val) const { in Contains() argument
297 bool GetTagValue(TypedEnumTag<KM_ENUM, Tag, T> tag, T* val) const { in GetTagValue() argument
/system/keymaster/android_keymaster/
Dkeymaster_tags.cpp193 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ALGORITHM, keymaster_algorithm_t);
196 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_DIGEST_OLD, keymaster_digest_t);
198 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_PADDING_OLD, keymaster_padding_t);
199 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_BLOB_USAGE_REQUIREMENTS,
201 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_ORIGIN, keymaster_key_origin_t);
202 DEFINE_KEYMASTER_ENUM_TAG(KM_ENUM, TAG_USER_AUTH_TYPE, hw_authenticator_type_t);
204 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/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.cpp81 case KM_ENUM: in KmParamSet()
166 case KM_ENUM: in kmParamSet2Hidl()
/system/keymaster/km_openssl/
Dattestation_record.cpp58 case KM_ENUM: in get_uint32_value()
271 case KM_ENUM: in build_auth_list()
/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