Searched defs:expected_handle (Results 1 - 2 of 2) sorted by relevance
/system/core/gatekeeperd/ |
H A D | SoftGateKeeper.h | 154 bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password) { argument 155 uint64_t user_id = android::base::get_unaligned(&expected_handle->user_id); 160 if (GateKeeper::DoVerify(expected_handle, password)) {
|
/system/gatekeeper/ |
H A D | gatekeeper.cpp | 201 bool GateKeeper::DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password) { argument 205 if (!CreatePasswordHandle(&provided_handle, expected_handle->salt, expected_handle->user_id, 206 expected_handle->flags, expected_handle->version, 213 return memcmp_s(generated_handle->signature, expected_handle->signature, 214 sizeof(expected_handle->signature)) == 0;
|
Completed in 383 milliseconds