/system/keymaster/include/keymaster/ |
keymaster_tags.h | 36 * classes include a conversion operator to keymaster_tag_t, they can be used anywhere a 37 * keymaster_tag_t is expected. 60 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); 92 * TypedTag is a templatized version of keymaster_tag_t, which provides compile-time checking of 93 * keymaster tag types. Instances are convertible to keymaster_tag_t, so they can be used wherever 94 * keymaster_tag_t is expected, and because they encode the tag type it's possible to create 97 template <keymaster_tag_type_t tag_type, keymaster_tag_t tag> class TypedTag [all...] |
authorization_set.h | 189 int find(keymaster_tag_t tag, int begin = -1) const; 220 bool Contains(keymaster_tag_t tag) const { 227 size_t GetTagCount(keymaster_tag_t tag) const; 232 template <keymaster_tag_t Tag, typename T> 240 template <keymaster_tag_t Tag, typename T> 248 template <keymaster_tag_t Tag> 257 template <keymaster_tag_t T> 267 template <keymaster_tag_t Tag> 276 template <keymaster_tag_t T> 286 template <keymaster_tag_t Tag [all...] |
/hardware/libhardware/include/hardware/ |
keymaster_defs.h | 171 } keymaster_tag_t; typedef in typeref:enum:__anon43234 307 keymaster_tag_t tag; 461 static inline keymaster_tag_type_t keymaster_tag_get_type(keymaster_tag_t tag) { 465 static inline uint32_t keymaster_tag_mask_type(keymaster_tag_t tag) { 479 static inline bool keymaster_tag_repeatable(keymaster_tag_t tag) { 485 inline keymaster_key_param_t keymaster_param_enum(keymaster_tag_t tag, uint32_t value) { 494 inline keymaster_key_param_t keymaster_param_int(keymaster_tag_t tag, uint32_t value) { 503 inline keymaster_key_param_t keymaster_param_long(keymaster_tag_t tag, uint64_t value) { 512 inline keymaster_key_param_t keymaster_param_blob(keymaster_tag_t tag, const uint8_t* bytes, 523 inline keymaster_key_param_t keymaster_param_bool(keymaster_tag_t tag) [all...] |
/system/keymaster/ |
authorization_set.cpp | 31 static inline bool is_blob_tag(keymaster_tag_t tag) { 229 int AuthorizationSet::find(keymaster_tag_t tag, int begin) const { 546 size_t AuthorizationSet::GetTagCount(keymaster_tag_t tag) const { 553 bool AuthorizationSet::GetTagValueEnum(keymaster_tag_t tag, uint32_t* val) const { 562 bool AuthorizationSet::GetTagValueEnumRep(keymaster_tag_t tag, size_t instance, 577 bool AuthorizationSet::GetTagValueInt(keymaster_tag_t tag, uint32_t* val) const { 586 bool AuthorizationSet::GetTagValueIntRep(keymaster_tag_t tag, size_t instance, 601 bool AuthorizationSet::GetTagValueLong(keymaster_tag_t tag, uint64_t* val) const { 610 bool AuthorizationSet::GetTagValueLongRep(keymaster_tag_t tag, size_t instance, 625 bool AuthorizationSet::GetTagValueDate(keymaster_tag_t tag, uint64_t* val) const [all...] |
android_keymaster_test_utils.h | 57 template <keymaster_tag_t Tag, typename KeymasterEnum> 64 template <keymaster_tag_t Tag, typename KeymasterEnum> 74 template <keymaster_tag_t Tag> 80 template <keymaster_tag_t Tag> 89 template <keymaster_tag_t Tag> 95 template <keymaster_tag_t Tag> 103 template <keymaster_tag_t Tag> 111 inline bool contains(const AuthorizationSet& set, keymaster_tag_t tag) {
|
keymaster_tags.cpp | 22 const char* StringifyTag(keymaster_tag_t tag) {
|
attestation_record.cpp | 169 static const keymaster_tag_t kDeviceAttestationTags[] = { 619 static bool get_repeated_enums(const stack_st_ASN1_INTEGER* stack, keymaster_tag_t tag, 631 template <keymaster_tag_type_t Type, keymaster_tag_t Tag, typename KeymasterEnum> 640 static bool get_ulong(const ASN1_INTEGER* asn1_int, keymaster_tag_t tag, [all...] |
soft_keymaster_device.cpp | 376 template <keymaster_tag_t Tag, keymaster_tag_type_t Type, typename KeymasterEnum> [all...] |
soft_keymaster_context.cpp | 286 bool UpgradeIntegerTag(keymaster_tag_t tag, uint32_t value, AuthorizationSet* set, [all...] |
/system/security/keystore/ |
legacy_keymaster_device_wrapper.cpp | 41 static inline keymaster_tag_type_t typeFromTag(const keymaster_tag_t tag) { 51 inline static keymaster_tag_t legacy_enum_conversion(const Tag value) { 52 return keymaster_tag_t(value); 54 inline static Tag legacy_enum_conversion(const keymaster_tag_t value) {
|
/hardware/interfaces/keymaster/3.0/default/ |
KeymasterDevice.cpp | 198 static inline keymaster_tag_type_t typeFromTag(const keymaster_tag_t tag) { 208 inline static keymaster_tag_t legacy_enum_conversion(const Tag value) { 209 return keymaster_tag_t(value); 211 inline static Tag legacy_enum_conversion(const keymaster_tag_t value) {
|