Lines Matching refs:user_id
34 secure_id_t user_id = 0;// todo: rename to policy in Enroll() local
35 uint32_t uid = request.user_id; in Enroll()
39 GetRandom(&user_id, sizeof(secure_id_t)); in Enroll()
48 user_id = pw_handle->user_id; in Enroll()
57 if (!GetFailureRecord(uid, user_id, &record, throttle_secure)) { in Enroll()
64 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) { in Enroll()
84 if (ClearFailureRecord(uid, user_id, true)) { in Enroll()
87 ClearFailureRecord(uid, user_id, false); in Enroll()
95 salt, user_id, flags, HANDLE_VERSION, request.provided_password)) { in Enroll()
118 secure_id_t user_id = password_handle->user_id; in Verify() local
120 uint32_t uid = request.user_id; in Verify()
129 if (!GetFailureRecord(uid, user_id, &record, throttle_secure)) { in Verify()
136 if (!IncrementFailureRecord(uid, user_id, timestamp, &record, throttle_secure)) { in Verify()
150 user_id, authenticator_id, request.challenge); in Verify()
155 if (throttle) ClearFailureRecord(uid, user_id, throttle_secure); in Verify()
167 secure_id_t user_id, uint64_t flags, uint8_t handle_version, const SizedBuffer & password) { in CreatePasswordHandle() argument
174 password_handle.user_id = user_id; in CreatePasswordHandle()
179 sizeof(password_handle.user_id) + in CreatePasswordHandle()
216 if (!CreatePasswordHandle(&provided_handle, expected_handle->salt, expected_handle->user_id, in DoVerify()
227 uint64_t timestamp, secure_id_t user_id, secure_id_t authenticator_id, in MintAuthToken() argument
235 token.user_id = user_id; in MintAuthToken()
242 sizeof(token.user_id) + in MintAuthToken()
327 bool GateKeeper::IncrementFailureRecord(uint32_t uid, secure_id_t user_id, uint64_t timestamp, in IncrementFailureRecord() argument
329 record->secure_user_id = user_id; in IncrementFailureRecord()