Home
last modified time | relevance | path

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

/system/gatekeeper/
Dgatekeeper_messages.cpp166 this->provided_password = move(provided_password_payload); in VerifyRequest()
171 + serialized_buffer_size(provided_password); in nonErrorSerializedSize()
178 append_to_buffer(&buffer, provided_password); in nonErrorSerialize()
185 provided_password = {}; in nonErrorDeserialize()
195 return read_from_buffer(&payload, end, &provided_password); in nonErrorDeserialize()
237 SizedBuffer provided_password, SizedBuffer enrolled_password) { in EnrollRequest() argument
240 this->provided_password = move(provided_password); in EnrollRequest()
246 return serialized_buffer_size(provided_password) + serialized_buffer_size(enrolled_password) in nonErrorSerializedSize()
251 append_to_buffer(&buffer, provided_password); in nonErrorSerialize()
259 provided_password = {}; in nonErrorDeserialize()
[all …]
Dgatekeeper.cpp29 if (!request.provided_password) { in Enroll()
95 salt, user_id, flags, HANDLE_VERSION, request.provided_password)) { in Enroll()
106 if (!request.provided_password || !request.password_handle) { in Verify()
146 if (DoVerify(password_handle, request.provided_password)) { in Verify()
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp64 deserialized_password = &deserialized_msg.provided_password; in TEST()
67 …ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(),… in TEST()
87 deserialized_password = &deserialized_msg.provided_password; in TEST()
90 …ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(),… in TEST()
97 SizedBuffer provided_password = make_buffer(password_size); in TEST() local
104 …EnrollRequest msg(USER_ID, move(password_handle), move(provided_password), move(enrolled_password)… in TEST()
115 deserialized_password = &deserialized_msg.provided_password; in TEST()
120 …ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(),… in TEST()
169 … ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(), in TEST()
/system/gatekeeper/include/gatekeeper/
Dgatekeeper_messages.h181 SizedBuffer provided_password; member
200 SizedBuffer provided_password, SizedBuffer enrolled_password);
219 SizedBuffer provided_password; member