Home
last modified time | relevance | path

Searched refs:enrolled_password (Results 1 – 4 of 4) sorted by relevance

/system/gatekeeper/
Dgatekeeper_messages.cpp237 SizedBuffer provided_password, SizedBuffer enrolled_password) { in EnrollRequest() argument
241 this->enrolled_password = move(enrolled_password); in EnrollRequest()
246 return serialized_buffer_size(provided_password) + serialized_buffer_size(enrolled_password) in nonErrorSerializedSize()
252 append_to_buffer(&buffer, enrolled_password); in nonErrorSerialize()
260 enrolled_password = {}; in nonErrorDeserialize()
268 ret = read_from_buffer(&payload, end, &enrolled_password); in nonErrorDeserialize()
Dgatekeeper.cpp72 if (!DoVerify(pw_handle, request.enrolled_password)) { in Enroll()
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp68 ASSERT_FALSE(deserialized_msg.enrolled_password); in TEST()
91 ASSERT_FALSE(deserialized_msg.enrolled_password); in TEST()
98 SizedBuffer enrolled_password = make_buffer(password_size); in TEST() local
104 …nrollRequest msg(USER_ID, move(password_handle), move(provided_password), move(enrolled_password)); in TEST()
116 deserialized_enrolled = &deserialized_msg.enrolled_password; in TEST()
122 …ASSERT_EQ(0, memcmp(msg.enrolled_password.Data<uint8_t>(), deserialized_enrolled->Data<uint8_t>(),… in TEST()
/system/gatekeeper/include/gatekeeper/
Dgatekeeper_messages.h200 SizedBuffer provided_password, SizedBuffer enrolled_password);
215 SizedBuffer enrolled_password; member