• Home
  • Raw
  • Download

Lines Matching refs:response

26 void GateKeeper::Enroll(const EnrollRequest &request, EnrollResponse *response) {  in Enroll()  argument
27 if (response == nullptr) return; in Enroll()
30 response->error = ERROR_INVALID; in Enroll()
44 response->error = ERROR_INVALID; in Enroll()
58 response->error = ERROR_UNKNOWN; in Enroll()
62 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return; in Enroll()
65 response->error = ERROR_UNKNOWN; in Enroll()
75 response->SetRetryTimeout(timeout); in Enroll()
77 response->error = ERROR_INVALID; in Enroll()
96 response->error = ERROR_INVALID; in Enroll()
100 response->SetEnrolledPasswordHandle(move(password_handle)); in Enroll()
103 void GateKeeper::Verify(const VerifyRequest &request, VerifyResponse *response) { in Verify() argument
104 if (response == nullptr) return; in Verify()
107 response->error = ERROR_INVALID; in Verify()
114 response->error = ERROR_INVALID; in Verify()
130 response->error = ERROR_UNKNOWN; in Verify()
134 if (ThrottleRequest(uid, timestamp, &record, throttle_secure, response)) return; in Verify()
137 response->error = ERROR_UNKNOWN; in Verify()
143 response->request_reenroll = true; in Verify()
149 response->error = MintAuthToken(&auth_token, timestamp, in Verify()
152 if (response->error != ERROR_NONE) return; in Verify()
154 response->SetVerificationToken(move(auth_token)); in Verify()
159 response->SetRetryTimeout(timeout); in Verify()
161 response->error = ERROR_INVALID; in Verify()
300 failure_record_t *record, bool secure, GateKeeperMessage *response) { in ThrottleRequest() argument
309 response->SetRetryTimeout(timeout - (timestamp - last_checked)); in ThrottleRequest()
316 response->error = ERROR_UNKNOWN; in ThrottleRequest()
319 response->SetRetryTimeout(timeout); in ThrottleRequest()