Searched refs:auth_list (Results 1 – 6 of 6) sorted by relevance
/system/keymaster/tests/ |
D | wrapped_key_test.cpp | 87 AuthorizationSet auth_list; in TEST() local 89 EXPECT_EQ(parse_wrapped_key(asn1, &iv2, &transit_key2, &secure_key2, &tag2, &auth_list, in TEST() 94 auth_list.GetTagValue(TAG_KEY_SIZE, &key_size); in TEST() 98 auth_list.GetTagValue(TAG_ALGORITHM, &algorithm); in TEST() 115 AuthorizationSet auth_list; in TEST() local 117 EXPECT_EQ(parse_wrapped_key(wrapped_key, &iv, &transit_key, &secure_key, &tag, &auth_list, in TEST()
|
/system/keymaster/km_openssl/ |
D | attestation_record.cpp | 261 keymaster_error_t build_eat_submod(const AuthorizationSet& auth_list, in build_eat_submod() argument 265 if (auth_list.empty()) return KM_ERROR_OK; in build_eat_submod() 274 for (auto entry : auth_list) { in build_eat_submod() 477 if (auth_list.Contains(TAG_ALGORITHM, KM_ALGORITHM_EC) && !auth_list.Contains(TAG_EC_CURVE) && in build_eat_submod() 478 auth_list.GetTagValue(TAG_KEY_SIZE, &key_size)) { in build_eat_submod() 492 keymaster_error_t build_auth_list(const AuthorizationSet& auth_list, KM_AUTH_LIST* record) { in build_auth_list() argument 495 if (auth_list.empty()) return KM_ERROR_OK; in build_auth_list() 497 for (auto entry : auth_list) { in build_auth_list() 778 if (auth_list.Contains(TAG_ALGORITHM, KM_ALGORITHM_EC) && // in build_auth_list() 779 !auth_list.Contains(TAG_EC_CURVE) && // in build_auth_list() [all …]
|
D | wrapped_key.cpp | 58 auto err = build_auth_list(auth_set, wrapped_key->wrapped_key_description->auth_list); in build_wrapped_key() 83 KeymasterBlob* tag, AuthorizationSet* auth_list, in parse_wrapped_key() argument 86 if (!iv || !transit_key || !secure_key || !tag || !auth_list || !key_format || in parse_wrapped_key() 131 return extract_auth_list(record->wrapped_key_description->auth_list, auth_list); in parse_wrapped_key()
|
/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,
|
/system/keymaster/include/keymaster/km_openssl/ |
D | attestation_record.h | 384 keymaster_error_t build_eat_submod(const AuthorizationSet& auth_list, 387 keymaster_error_t build_auth_list(const AuthorizationSet& auth_list, KM_AUTH_LIST* record); 402 keymaster_error_t extract_auth_list(const KM_AUTH_LIST* record, AuthorizationSet* auth_list);
|
/system/security/keystore2/test_utils/ |
D | ffi_test_utils.cpp | 320 keymaster::AuthorizationSet auth_list = build_wrapped_key_auth_list(); in buildAsn1DerEncodedWrappedKeyDescription() local 321 error = build_auth_list(auth_list, key_description->key_params); in buildAsn1DerEncodedWrappedKeyDescription() 418 keymaster::AuthorizationSet auth_list = build_wrapped_key_auth_list(); in createWrappedKey() local 419 error = build_auth_list(auth_list, sec_key_wrapper->key_desc->key_params); in createWrappedKey()
|