Home
last modified time | relevance | path

Searched refs:auth_type_index (Results 1 – 2 of 2) sorted by relevance

/aosp12/system/keymaster/android_keymaster/
H A Dkeymaster_enforcement.cpp151 int auth_type_index = -1; in AuthorizeUpdateOrFinish() local
156 auth_type_index = pos; in AuthorizeUpdateOrFinish()
182 bool authentication_required = (auth_type_index != -1); in AuthorizeUpdateOrFinish()
206 int auth_type_index = -1; in AuthorizeBegin() local
214 auth_type_index = pos; in AuthorizeBegin()
278 auth_type_index, auth_timeout_index, 0 /* op_handle */, in AuthorizeBegin()
487 assert(auth_type_index < static_cast<int>(auth_set.size())); in AuthTokenMatches()
505 if (auth_type_index < 0 || auth_type_index > static_cast<int>(auth_set.size())) { in AuthTokenMatches()
510 assert(auth_set[auth_type_index].tag == KM_TAG_USER_AUTH_TYPE); in AuthTokenMatches()
511 if (auth_set[auth_type_index].tag != KM_TAG_USER_AUTH_TYPE) return false; in AuthTokenMatches()
[all …]
/aosp12/system/keymaster/include/keymaster/
H A Dkeymaster_enforcement.h218 const uint64_t user_secure_id, const int auth_type_index,