Home
last modified time | relevance | path

Searched refs:Deserialize (Results 1 – 17 of 17) sorted by relevance

/system/keymaster/
Dandroid_keymaster_messages.cpp67 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 …]
Dauth_encrypted_key_blob.cpp70 !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()
Dkey_blob_test.cpp82 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 …]
Dintegrity_assured_key_blob.cpp141 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()
Dauthorization_set_test.cpp179 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()
Dandroid_keymaster_messages_test.cpp45 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()
Dserializable.cpp146 bool Buffer::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::Buffer
Dauthorization_set.cpp459 bool AuthorizationSet::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function in keymaster::AuthorizationSet
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h112 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 …]
Dserializable.h52 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);
Dauthorization_set.h69 Deserialize(&serialized_set, serialized_set + serialized_size); in AuthorizationSet()
425 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end);
Dandroid_keymaster_utils.h293 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { in Deserialize() function
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp59 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/
Dgatekeeper_messages.h98 gatekeeper_error_t Deserialize(const uint8_t *payload, const uint8_t *end);
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp180 return response->Deserialize(payload, payload + response_size); in Send()
/system/gatekeeper/
Dgatekeeper_messages.cpp107 gatekeeper_error_t GateKeeperMessage::Deserialize(const uint8_t *payload, const uint8_t *end) { in Deserialize() function in gatekeeper::GateKeeperMessage
/system/connectivity/shill/
Djson_store.cc359 json_deserializer.Deserialize(nullptr, &json_error).release()); in Open()