Searched refs:auth_set (Results 1 – 7 of 7) sorted by relevance
/aosp12/system/keymaster/tests/ |
H A D | keymaster_enforcement_test.cpp | 489 AuthorizationSet auth_set( in TEST_F() local 499 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local 516 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local 561 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local 574 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local 592 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local 615 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local 644 AuthorizationSet auth_set(AuthorizationSetBuilder() in TEST_F() local 695 AuthorizationSet auth_set( in TEST_F() local 724 AuthorizationSet auth_set( in TEST_F() local [all …]
|
/aosp12/system/keymaster/android_keymaster/ |
H A D | keymaster_enforcement.cpp | 75 bool is_public_key_algorithm(const AuthProxy& auth_set) { in is_public_key_algorithm() argument 77 return auth_set.GetTagValue(TAG_ALGORITHM, &algorithm) && in is_public_key_algorithm() 122 if (is_public_key_algorithm(auth_set)) { in AuthorizeOperation() 153 for (size_t pos = 0; pos < auth_set.size(); ++pos) { in AuthorizeUpdateOrFinish() 154 switch (auth_set[pos].tag) { in AuthorizeUpdateOrFinish() 183 for (auto& param : auth_set) { in AuthorizeUpdateOrFinish() 208 for (size_t pos = 0; pos < auth_set.size(); ++pos) { in AuthorizeBegin() 209 switch (auth_set[pos].tag) { in AuthorizeBegin() 224 keymaster_error_t error = authorized_purpose(purpose, auth_set); in AuthorizeBegin() 235 for (auto& param : auth_set) { in AuthorizeBegin() [all …]
|
/aosp12/system/keymaster/include/keymaster/ |
H A D | keymaster_enforcement.h | 56 const AuthProxy& auth_set, 67 const AuthProxy& auth_set, 75 keymaster_error_t AuthorizeUpdate(const AuthProxy& auth_set, in AuthorizeUpdate() argument 78 return AuthorizeUpdateOrFinish(auth_set, operation_params, op_handle); in AuthorizeUpdate() 86 keymaster_error_t AuthorizeFinish(const AuthProxy& auth_set, in AuthorizeFinish() argument 89 return AuthorizeUpdateOrFinish(auth_set, operation_params, op_handle); in AuthorizeFinish() 209 keymaster_error_t AuthorizeUpdateOrFinish(const AuthProxy& auth_set, 217 bool AuthTokenMatches(const AuthProxy& auth_set, const AuthorizationSet& operation_params,
|
H A D | soft_keymaster_device.h | 89 AuthorizationSet* auth_set);
|
/aosp12/system/keymaster/contexts/ |
H A D | soft_keymaster_device.cpp | 1501 auth_set->push_back(TAG_PURPOSE, KM_PURPOSE_SIGN); in StoreDefaultNewKeyParams() 1502 auth_set->push_back(TAG_PURPOSE, KM_PURPOSE_VERIFY); in StoreDefaultNewKeyParams() 1503 auth_set->push_back(TAG_ALL_USERS); in StoreDefaultNewKeyParams() 1504 auth_set->push_back(TAG_NO_AUTH_REQUIRED); in StoreDefaultNewKeyParams() 1507 auth_set->push_back(TAG_DIGEST, KM_DIGEST_NONE); in StoreDefaultNewKeyParams() 1508 auth_set->push_back(TAG_DIGEST, KM_DIGEST_MD5); in StoreDefaultNewKeyParams() 1509 auth_set->push_back(TAG_DIGEST, KM_DIGEST_SHA1); in StoreDefaultNewKeyParams() 1510 auth_set->push_back(TAG_DIGEST, KM_DIGEST_SHA_2_224); in StoreDefaultNewKeyParams() 1511 auth_set->push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in StoreDefaultNewKeyParams() 1512 auth_set->push_back(TAG_DIGEST, KM_DIGEST_SHA_2_384); in StoreDefaultNewKeyParams() [all …]
|
/aosp12/system/keymaster/km_openssl/ |
H A D | wrapped_key.cpp | 43 const AuthorizationSet& auth_set, in build_wrapped_key() argument 58 auto err = build_auth_list(auth_set, wrapped_key->wrapped_key_description->auth_list); in build_wrapped_key()
|
/aosp12/hardware/interfaces/identity/support/src/ |
H A D | IdentityCredentialSupport.cpp | 685 ::keymaster::AuthorizationSet auth_set( in createAttestation() 728 key, swEnforced, hwEnforced, auth_set, {} /* attest_key */, context, &error); in createAttestation()
|