HomeSort by relevance Sort by last modified time
    Searched refs:SizedBuffer (Results 1 - 9 of 9) sorted by null

  /system/gatekeeper/include/gatekeeper/
gatekeeper_messages.h 39 struct SizedBuffer {
40 SizedBuffer() {
45 * Constructs a SizedBuffer of a provided
48 SizedBuffer(uint32_t length) {
58 * Constructs a SizedBuffer out of a pointer and a length
62 SizedBuffer(uint8_t buf[], uint32_t len) {
141 SizedBuffer *enrolled_password_handle,
142 SizedBuffer *provided_password_payload);
151 SizedBuffer password_handle;
152 SizedBuffer provided_password
    [all...]
gatekeeper.h 170 virtual bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password);
185 bool CreatePasswordHandle(SizedBuffer *password_handle, salt_t salt,
  /system/gatekeeper/tests/
gatekeeper_messages_test.cpp 24 using ::gatekeeper::SizedBuffer;
35 static SizedBuffer *make_buffer(uint32_t size) {
36 SizedBuffer *result = new SizedBuffer;
51 SizedBuffer *provided_password = make_buffer(password_size);
52 const SizedBuffer *deserialized_password;
55 SizedBuffer serialized_msg(msg.GetSerializedSize());
78 SizedBuffer *provided_password = make_buffer(password_size);
79 SizedBuffer enrolled;
80 SizedBuffer handle
    [all...]
  /system/core/gatekeeperd/
SoftGateKeeperDevice.cpp 40 SizedBuffer desired_password_buffer(desired_password_length);
43 SizedBuffer current_password_handle_buffer(current_password_handle_length);
49 SizedBuffer current_password_buffer(current_password_length);
82 SizedBuffer password_handle_buffer(enrolled_password_handle_length);
85 SizedBuffer provided_password_buffer(provided_password_length);
SoftGateKeeper.h 136 fast_hash_t ComputeFastHash(const SizedBuffer &password, uint64_t salt) {
149 bool VerifyFast(const fast_hash_t &fast_hash, const SizedBuffer &password) {
154 bool DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password) {
  /system/core/gatekeeperd/tests/
gatekeeper_test.cpp 26 using ::gatekeeper::SizedBuffer;
36 SizedBuffer password;
55 SizedBuffer password;
67 SizedBuffer provided_password;
96 SizedBuffer provided_password;
98 SizedBuffer password_handle;
128 SizedBuffer password;
151 SizedBuffer provided_password;
173 SizedBuffer password;
196 SizedBuffer provided_password
    [all...]
  /system/gatekeeper/
gatekeeper_messages.cpp 35 static inline uint32_t serialized_buffer_size(const SizedBuffer &buf) {
39 static inline void append_to_buffer(uint8_t **buffer, const SizedBuffer *to_append) {
49 SizedBuffer *target) {
135 SizedBuffer *enrolled_password_handle, SizedBuffer *provided_password_payload) {
194 VerifyResponse::VerifyResponse(uint32_t user_id, SizedBuffer *auth_token) {
212 void VerifyResponse::SetVerificationToken(SizedBuffer *auth_token) {
240 EnrollRequest::EnrollRequest(uint32_t user_id, SizedBuffer *password_handle,
241 SizedBuffer *provided_password, SizedBuffer *enrolled_password)
    [all...]
gatekeeper.cpp 93 SizedBuffer password_handle;
155 SizedBuffer auth_token(auth_token_len);
169 bool GateKeeper::CreatePasswordHandle(SizedBuffer *password_handle_buffer, salt_t salt,
201 bool GateKeeper::DoVerify(const password_handle_t *expected_handle, const SizedBuffer &password) {
204 SizedBuffer provided_handle;
223 SizedBuffer serialized_auth_token;
  /system/core/trusty/gatekeeper/
trusty_gatekeeper.cpp 90 SizedBuffer desired_password_buffer(desired_password_length);
93 SizedBuffer current_password_handle_buffer(current_password_handle_length);
99 SizedBuffer current_password_buffer(current_password_length);
131 SizedBuffer password_handle_buffer(enrolled_password_handle_length);
134 SizedBuffer provided_password_buffer(provided_password_length);

Completed in 49 milliseconds