Searched refs:hat (Results 1 – 2 of 2) sorted by relevance
176 ndk::ScopedAStatus Session::enroll(const keymaster::HardwareAuthToken& hat, in enroll() argument178 const ErrorCode err = validateHat(hat); in enroll()186 mEnrollingSecUserId = hat.userId; in enroll()195 SESSION_DEBUG("ENROLLING_START hat.userId=%" PRId64, hat.userId); in enroll()320 ndk::ScopedAStatus Session::resetLockout(const keymaster::HardwareAuthToken& hat) { in resetLockout() argument321 const ErrorCode err = validateHat(hat); in resetLockout()345 Session::ErrorCode Session::validateHat(const keymaster::HardwareAuthToken& hat) const { in validateHat()346 if (hat.mac.empty()) { in validateHat()350 if (!mChallenges.count(hat.challenge)) { in validateHat()352 "unexpected challenge: %" PRId64, hat.challenge); in validateHat()[all …]
54 ndk::ScopedAStatus enroll(const keymaster::HardwareAuthToken& hat,64 ndk::ScopedAStatus resetLockout(const keymaster::HardwareAuthToken& hat) override;68 ErrorCode validateHat(const keymaster::HardwareAuthToken& hat) const;95 const keymaster::HardwareAuthToken& hat, in enrollWithContext()98 return enroll(hat, out); in enrollWithContext()