Home
last modified time | relevance | path

Searched refs:password_handle_t (Results 1 – 6 of 6) sorted by relevance

/system/gatekeeper/
Dgatekeeper.cpp40 if (request.password_handle.length < sizeof(password_handle_t)) { in Enroll()
44 password_handle_t *pw_handle = in Enroll()
45 reinterpret_cast<password_handle_t *>(request.password_handle.buffer.get()); in Enroll()
116 if (request.password_handle.length < sizeof(password_handle_t)) { in Verify()
121 password_handle_t *password_handle = reinterpret_cast<password_handle_t *>( in Verify()
181 password_handle_buffer->buffer.reset(new uint8_t[sizeof(password_handle_t)]); in CreatePasswordHandle()
182 password_handle_buffer->length = sizeof(password_handle_t); in CreatePasswordHandle()
184 password_handle_t *password_handle = reinterpret_cast<password_handle_t *>( in CreatePasswordHandle()
216 bool GateKeeper::DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password) { in DoVerify()
226 password_handle_t *generated_handle = in DoVerify()
[all …]
/system/gatekeeper/tests/
Dgatekeeper_device_test.cpp23 using ::gatekeeper::password_handle_t;
215 password_handle_t *handle = reinterpret_cast<password_handle_t *>(password_handle); in TEST_F()
222 handle = reinterpret_cast<password_handle_t *>(password_handle); in TEST_F()
239 password_handle_t *handle = reinterpret_cast<password_handle_t *>(password_handle); in TEST_F()
246 handle = reinterpret_cast<password_handle_t *>(password_handle); in TEST_F()
/system/core/gatekeeperd/
Dgatekeeperd.cpp178 const gatekeeper::password_handle_t *handle = in enroll()
179 … reinterpret_cast<const gatekeeper::password_handle_t *>(current_password_handle); in enroll()
231 *enrolled_password_handle_length != sizeof(password_handle_t))) { in enroll()
238 gatekeeper::password_handle_t *handle = in enroll()
239 reinterpret_cast<gatekeeper::password_handle_t *>(*enrolled_password_handle); in enroll()
245 verify(uid, *enrolled_password_handle, sizeof(password_handle_t), desired_password, in enroll()
282 const gatekeeper::password_handle_t *handle = in verifyChallenge()
283 … reinterpret_cast<const gatekeeper::password_handle_t *>(enrolled_password_handle); in verifyChallenge()
356 maybe_store_sid(uid, reinterpret_cast<const gatekeeper::password_handle_t *>( in verifyChallenge()
DSoftGateKeeper.h147 bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password) { in DoVerify()
/system/gatekeeper/include/gatekeeper/
Dpassword_handle.h33 struct __attribute__ ((__packed__)) password_handle_t { struct
Dgatekeeper.h170 virtual bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password);