/system/keymaster/ |
D | android_keymaster_messages.cpp | 67 bool KeymasterResponse::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::KeymasterResponse 90 return deserialize_key_blob(&key_blob, buf_ptr, end) && enforced.Deserialize(buf_ptr, end) && in NonErrorDeserialize() 91 unenforced.Deserialize(buf_ptr, end); in NonErrorDeserialize() 111 bool GetKeyCharacteristicsRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::GetKeyCharacteristicsRequest 113 additional_params.Deserialize(buf_ptr, end); in Deserialize() 127 return enforced.Deserialize(buf_ptr, end) && unenforced.Deserialize(buf_ptr, end); in NonErrorDeserialize() 145 bool BeginOperationRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::BeginOperationRequest 148 additional_params.Deserialize(buf_ptr, end); in Deserialize() 168 retval = output_params.Deserialize(buf_ptr, end); in NonErrorDeserialize() 187 bool UpdateOperationRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::UpdateOperationRequest [all …]
|
D | auth_encrypted_key_blob.cpp | 70 !encrypted_key_material->Deserialize(buf_ptr, end) || in DeserializeUnversionedBlob() 72 !hw_enforced->Deserialize(buf_ptr, end) || // in DeserializeUnversionedBlob() 73 !sw_enforced->Deserialize(buf_ptr, end)) { in DeserializeUnversionedBlob() 99 !nonce->Deserialize(buf_ptr, end) || nonce->available_read() != OCB_NONCE_LENGTH || in DeserializeAuthEncryptedBlob() 100 !encrypted_key_material->Deserialize(buf_ptr, end) || // in DeserializeAuthEncryptedBlob() 101 !tag->Deserialize(buf_ptr, end) || tag->available_read() != OCB_TAG_LENGTH || in DeserializeAuthEncryptedBlob() 102 !hw_enforced->Deserialize(buf_ptr, end) || // in DeserializeAuthEncryptedBlob() 103 !sw_enforced->Deserialize(buf_ptr, end)) { in DeserializeAuthEncryptedBlob()
|
D | key_blob_test.cpp | 82 keymaster_error_t Deserialize() { in Deserialize() function in keymaster::test::KeyBlobTest 134 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Deserialize()); in TEST_F() 150 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F() 167 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F() 184 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F() 196 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F() 221 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F() 244 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F() 255 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F() 270 ASSERT_EQ(KM_ERROR_OK, Deserialize()); in TEST_F() [all …]
|
D | integrity_assured_key_blob.cpp | 141 if (!key_material->Deserialize(&p, end) || // in DeserializeIntegrityAssuredBlob_NoHmacCheck() 142 !hw_enforced->Deserialize(&p, end) || // in DeserializeIntegrityAssuredBlob_NoHmacCheck() 143 !sw_enforced->Deserialize(&p, end)) in DeserializeIntegrityAssuredBlob_NoHmacCheck()
|
D | authorization_set_test.cpp | 179 TEST(Deserialization, Deserialize) { in TEST() argument 197 EXPECT_TRUE(deserialized.Deserialize(&p, p + size)); in TEST() 220 EXPECT_FALSE(deserialized.Deserialize(&p, p + array_length(buf))); in TEST() 246 EXPECT_FALSE(deserialized.Deserialize(&p, p + size)); in TEST() 308 EXPECT_TRUE(deserialized1.Deserialize(&p, p + size)); in TEST()
|
D | android_keymaster_messages_test.cpp | 45 EXPECT_TRUE(deserialized->Deserialize(&p, p + size)); in round_trip() 487 EXPECT_TRUE(deserialized.Deserialize(&p, p + size)); in TEST() 506 EXPECT_TRUE(deserialized.Deserialize(&p, p + size)); in TEST() 649 msg.Deserialize(&p, end); in parse_garbage() 669 msg.Deserialize(&p, end); in parse_garbage()
|
D | serializable.cpp | 146 bool Buffer::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::Buffer
|
D | authorization_set.cpp | 459 bool AuthorizationSet::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::AuthorizationSet
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_messages.h | 112 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; 127 bool Deserialize(const uint8_t** /* buf_ptr */, const uint8_t* /* end */) override { in Deserialize() function 139 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { in Deserialize() function 165 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { in Deserialize() function 265 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override { in Deserialize() function 266 return key_description.Deserialize(buf_ptr, end); in Deserialize() 303 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; 334 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; 357 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; 382 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) override; [all …]
|
D | serializable.h | 52 virtual bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) = 0; 248 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end);
|
D | authorization_set.h | 69 Deserialize(&serialized_set, serialized_set + serialized_size); in AuthorizationSet() 425 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end);
|
D | android_keymaster_utils.h | 293 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function
|
/system/gatekeeper/tests/ |
D | gatekeeper_messages_test.cpp | 59 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST() 88 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST() 119 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST() 151 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST() 175 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST() 204 deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() in TEST() 223 …deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized… in TEST() 234 …deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized… in TEST() 245 …deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized… in TEST() 256 …deserialized_msg.Deserialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized… in TEST() [all …]
|
/system/gatekeeper/include/gatekeeper/ |
D | gatekeeper_messages.h | 98 gatekeeper_error_t Deserialize(const uint8_t *payload, const uint8_t *end);
|
/system/core/trusty/gatekeeper/ |
D | trusty_gatekeeper.cpp | 180 return response->Deserialize(payload, payload + response_size); in Send()
|
/system/gatekeeper/ |
D | gatekeeper_messages.cpp | 107 gatekeeper_error_t GateKeeperMessage::Deserialize(const uint8_t *payload, const uint8_t *end) { in Deserialize() function in gatekeeper::GateKeeperMessage
|
/system/connectivity/shill/ |
D | json_store.cc | 359 json_deserializer.Deserialize(nullptr, &json_error).release()); in Open()
|