Home
last modified time | relevance | path

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

/system/gatekeeper/
Dgatekeeper_messages.cpp150 this->provided_password = move(provided_password_payload); in VerifyRequest()
155 + serialized_buffer_size(provided_password); in nonErrorSerializedSize()
162 append_to_buffer(&buffer, provided_password); in nonErrorSerialize()
169 provided_password = {}; in nonErrorDeserialize()
179 return read_from_buffer(&payload, end, &provided_password); in nonErrorDeserialize()
221 SizedBuffer provided_password, SizedBuffer enrolled_password) { in EnrollRequest() argument
224 this->provided_password = move(provided_password); in EnrollRequest()
230 return serialized_buffer_size(provided_password) + serialized_buffer_size(enrolled_password) in nonErrorSerializedSize()
235 append_to_buffer(&buffer, provided_password); in nonErrorSerialize()
243 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.h180 SizedBuffer provided_password; member
199 SizedBuffer provided_password, SizedBuffer enrolled_password);
218 SizedBuffer provided_password; member