Home
last modified time | relevance | path

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

/system/gatekeeper/
Dgatekeeper.cpp226 bool GateKeeper::DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password) { in DoVerify() argument
230 if (!CreatePasswordHandle(&provided_handle, expected_handle->salt, expected_handle->user_id, in DoVerify()
231 expected_handle->flags, expected_handle->version, password)) { in DoVerify()
236 return memcmp_s(generated_handle->signature, expected_handle->signature, in DoVerify()
237 sizeof(expected_handle->signature)) == 0; in DoVerify()
/system/gatekeeper/include/gatekeeper/
Dgatekeeper.h186 virtual bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password);