Home
last modified time | relevance | path

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

/system/gatekeeper/
Dgatekeeper.cpp207 bool GateKeeper::DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password) { in DoVerify() argument
211 if (!CreatePasswordHandle(&provided_handle, expected_handle->salt, expected_handle->user_id, in DoVerify()
212 expected_handle->flags, expected_handle->version, in DoVerify()
219 return memcmp_s(generated_handle->signature, expected_handle->signature, in DoVerify()
220 sizeof(expected_handle->signature)) == 0; in DoVerify()
/system/core/gatekeeperd/
DSoftGateKeeper.h154 bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password) { in DoVerify() argument
155 uint64_t user_id = android::base::get_unaligned<secure_id_t>(&expected_handle->user_id); in DoVerify()
160 if (GateKeeper::DoVerify(expected_handle, password)) { in DoVerify()
/system/gatekeeper/include/gatekeeper/
Dgatekeeper.h170 virtual bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password);