Searched refs:auth_list (Results 1 – 5 of 5) sorted by relevance
/system/keymaster/km_openssl/ |
D | attestation_record.cpp | 101 keymaster_error_t build_auth_list(const AuthorizationSet& auth_list, KM_AUTH_LIST* record) { in build_auth_list() argument 104 if (auth_list.empty()) in build_auth_list() 107 for (auto entry : auth_list) { in build_auth_list() 358 if (auth_list.Contains(TAG_ALGORITHM, KM_ALGORITHM_EC) && // in build_auth_list() 359 !auth_list.Contains(TAG_EC_CURVE) && // in build_auth_list() 360 auth_list.GetTagValue(TAG_KEY_SIZE, &key_size)) { in build_auth_list() 529 AuthorizationSet* auth_list) { in get_repeated_enums() argument 532 if (!auth_list->push_back( in get_repeated_enums() 542 AuthorizationSet* auth_list) { in get_enum() argument 545 return auth_list->push_back(tag, static_cast<KeymasterEnum>(ASN1_INTEGER_get(asn1_int))); in get_enum() [all …]
|
D | wrapped_key.cpp | 59 auto err = build_auth_list(auth_set, wrapped_key->wrapped_key_description->auth_list); in build_wrapped_key() 84 KeymasterBlob* tag, AuthorizationSet* auth_list, in parse_wrapped_key() argument 87 if (!iv || !transit_key || !secure_key || !tag || !auth_list || !key_format || in parse_wrapped_key() 132 return extract_auth_list(record->wrapped_key_description->auth_list, auth_list); in parse_wrapped_key()
|
/system/keymaster/tests/ |
D | wrapped_key_test.cpp | 88 AuthorizationSet auth_list; in TEST() local 90 EXPECT_EQ(parse_wrapped_key(asn1, &iv2, &transit_key2, &secure_key2, &tag2, &auth_list, in TEST() 95 auth_list.GetTagValue(TAG_KEY_SIZE, &key_size); in TEST() 99 auth_list.GetTagValue(TAG_ALGORITHM, &algorithm); in TEST() 116 AuthorizationSet auth_list; in TEST() local 118 EXPECT_EQ(parse_wrapped_key(wrapped_key, &iv, &transit_key, &secure_key, &tag, &auth_list, in TEST()
|
/system/keymaster/include/keymaster/ |
D | wrapped_key.h | 29 KM_AUTH_LIST* auth_list; member 34 ASN1_SIMPLE(KM_WRAPPED_KEY_DESCRIPTION, auth_list, KM_AUTH_LIST), 65 KeymasterBlob* tag, AuthorizationSet* auth_list,
|
D | attestation_record.h | 293 keymaster_error_t build_auth_list(const AuthorizationSet& auth_list, KM_AUTH_LIST* record); 295 keymaster_error_t extract_auth_list(const KM_AUTH_LIST* record, AuthorizationSet* auth_list);
|