Home
last modified time | relevance | path

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

/system/security/keystore/
Dauth_token_table.cpp134 AuthTokenTable::FindAuthPerOpAuthorization(const std::vector<uint64_t>& sids, in FindAuthPerOpAuthorization() argument
144 if (!matching_op->SatisfiesAuth(sids, auth_type)) return AUTH_TOKEN_WRONG_SID; in FindAuthPerOpAuthorization()
150 AuthTokenTable::Error AuthTokenTable::FindTimedAuthorization(const std::vector<uint64_t>& sids, in FindTimedAuthorization() argument
156 if (entry.SatisfiesAuth(sids, auth_type) && entry.is_newer_than(newest_match)) in FindTimedAuthorization()
179 void AuthTokenTable::ExtractSids(const AuthorizationSet& key_info, std::vector<uint64_t>* sids) { in ExtractSids() argument
180 assert(sids); in ExtractSids()
183 sids->push_back(authorizationValue(TAG_USER_SECURE_ID, param).value()); in ExtractSids()
228 bool AuthTokenTable::Entry::SatisfiesAuth(const std::vector<uint64_t>& sids, in SatisfiesAuth() argument
230 for (auto sid : sids) in SatisfiesAuth()
Dauth_token_table.h115 bool SatisfiesAuth(const std::vector<uint64_t>& sids, HardwareAuthenticatorType auth_type);
143 Error FindAuthPerOpAuthorization(const std::vector<uint64_t>& sids,
146 Error FindTimedAuthorization(const std::vector<uint64_t>& sids,
149 void ExtractSids(const AuthorizationSet& key_info, std::vector<uint64_t>* sids);