Home
last modified time | relevance | path

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

/system/security/keystore/
Dauth_token_table.cpp92 hw_authenticator_type_t auth_type = HW_AUTH_NONE; in FindAuthorization() local
93 key_info.GetTagValue(TAG_USER_AUTH_TYPE, &auth_type); in FindAuthorization()
99 return FindAuthPerOpAuthorization(key_sids, auth_type, op_handle, found); in FindAuthorization()
101 return FindTimedAuthorization(key_sids, auth_type, key_info, found); in FindAuthorization()
105 const std::vector<uint64_t>& sids, hw_authenticator_type_t auth_type, in FindAuthPerOpAuthorization() argument
116 if (!matching_op->SatisfiesAuth(sids, auth_type)) in FindAuthPerOpAuthorization()
124 hw_authenticator_type_t auth_type, in FindTimedAuthorization() argument
129 if (entry.SatisfiesAuth(sids, auth_type) && entry.is_newer_than(newest_match)) in FindTimedAuthorization()
206 hw_authenticator_type_t auth_type) { in SatisfiesAuth() argument
209 (sid == token_->user_id && (auth_type & authenticator_type()) != 0)) in SatisfiesAuth()
Dauth_token_table.h128 bool SatisfiesAuth(const std::vector<uint64_t>& sids, hw_authenticator_type_t auth_type);
152 hw_authenticator_type_t auth_type,
156 hw_authenticator_type_t auth_type,