Home
last modified time | relevance | path

Searched refs:Serialize (Results 1 – 22 of 22) sorted by relevance

/system/keymaster/
Dandroid_keymaster_messages.cpp60 uint8_t* KeymasterResponse::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::KeymasterResponse
85 buf = enforced.Serialize(buf, end); in NonErrorSerialize()
86 return unenforced.Serialize(buf, end); in NonErrorSerialize()
106 uint8_t* GetKeyCharacteristicsRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::GetKeyCharacteristicsRequest
108 return additional_params.Serialize(buf, end); in Serialize()
121 buf = enforced.Serialize(buf, end); in NonErrorSerialize()
122 return unenforced.Serialize(buf, end); in NonErrorSerialize()
139 uint8_t* BeginOperationRequest::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::BeginOperationRequest
142 return additional_params.Serialize(buf, end); in Serialize()
161 buf = output_params.Serialize(buf, end); in NonErrorSerialize()
[all …]
Dkey_blob_test.cpp77 keymaster_error_t Serialize() { in Serialize() function in keymaster::test::KeyBlobTest
101 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
129 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
139 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
156 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
173 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
190 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
204 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
209 hw_enforced_.Serialize(hw_enforced_data.get(), hw_enforced_data.get() + hw_enforced_size); in TEST_F()
227 ASSERT_EQ(KM_ERROR_OK, Serialize()); in TEST_F()
[all …]
Dauth_encrypted_key_blob.cpp46 buf = nonce.Serialize(buf, end); in SerializeAuthEncryptedBlob()
47 buf = encrypted_key_material.Serialize(buf, end); in SerializeAuthEncryptedBlob()
48 buf = tag.Serialize(buf, end); in SerializeAuthEncryptedBlob()
49 buf = hw_enforced.Serialize(buf, end); in SerializeAuthEncryptedBlob()
50 buf = sw_enforced.Serialize(buf, end); in SerializeAuthEncryptedBlob()
Dintegrity_assured_key_blob.cpp58 hidden.Serialize(hidden_bytes.get(), hidden_bytes.get() + hidden_bytes_size); in ComputeHmac()
96 p = key_material.Serialize(p, key_blob->end()); in SerializeIntegrityAssuredBlob()
97 p = hw_enforced.Serialize(p, key_blob->end()); in SerializeIntegrityAssuredBlob()
98 p = sw_enforced.Serialize(p, key_blob->end()); in SerializeIntegrityAssuredBlob()
Docb_utils.cpp61 buf = hidden.Serialize(buf, end); in BuildDerivationData()
62 buf = hw_enforced.Serialize(buf, end); in BuildDerivationData()
63 buf = sw_enforced.Serialize(buf, end); in BuildDerivationData()
Dauthorization_set_test.cpp166 EXPECT_EQ(buf.get() + size, set.Serialize(buf.get(), buf.get() + size)); in TEST()
194 EXPECT_EQ(buf.get() + size, set.Serialize(buf.get(), buf.get() + size)); in TEST()
239 EXPECT_EQ(buf.get() + size, set.Serialize(buf.get(), buf.get() + size)); in TEST()
270 EXPECT_EQ(buf.get() + size, set.Serialize(buf.get(), buf.get() + size)); in TEST()
356 growable.Serialize(serialized.get(), serialized.get() + serialize_size)); in TEST()
Dserializable.cpp142 uint8_t* Buffer::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::Buffer
Dandroid_keymaster_messages_test.cpp41 EXPECT_EQ(buf.get() + size, message.Serialize(buf.get(), buf.get() + size)); in round_trip()
483 EXPECT_EQ(buf.get() + size, msg.Serialize(buf.get(), buf.get() + size)); in TEST()
502 EXPECT_EQ(buf.get() + size, msg.Serialize(buf.get(), buf.get() + size)); in TEST()
Dauthorization_set.cpp402 uint8_t* AuthorizationSet::Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function in keymaster::AuthorizationSet
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h111 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override;
126 uint8_t* Serialize(uint8_t* buf, const uint8_t* /* end */) const override { return buf; } in Serialize() function
136 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function
161 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function
262 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override { in Serialize() function
263 return key_description.Serialize(buf, end); in Serialize()
302 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override;
333 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override;
356 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override;
381 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const override;
[all …]
Dserializable.h46 virtual uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const = 0;
247 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const;
Dandroid_keymaster_utils.h289 uint8_t* Serialize(uint8_t* buf, const uint8_t* end) const { in Serialize() function
Dauthorization_set.h424 uint8_t* Serialize(uint8_t* serialized_set, const uint8_t* end) const;
/system/gatekeeper/tests/
Dgatekeeper_messages_test.cpp56 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST()
85 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST()
116 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST()
148 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST()
172 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST()
201 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST()
221 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST()
232 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST()
243 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST()
254 msg.Serialize(serialized_msg.buffer.get(), serialized_msg.buffer.get() + serialized_msg.length); in TEST()
/system/gatekeeper/include/gatekeeper/
Dgatekeeper_messages.h93 uint32_t Serialize(uint8_t *payload, const uint8_t *end) const;
/system/connectivity/dhcp_client/
Ddhcp_message.h65 bool Serialize(shill::ByteString* data) const;
Ddhcpv4.cc227 if (!message.Serialize(&payload)) { in MakeRawPacket()
Ddhcp_message.cc274 bool DHCPMessage::Serialize(ByteString* data) const { in Serialize() function in dhcp_client::DHCPMessage
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp166 request.Serialize(send_buf, send_buf + request_size); in Send()
/system/gatekeeper/
Dgatekeeper_messages.cpp79 uint32_t GateKeeperMessage::Serialize(uint8_t *buffer, const uint8_t *end) const { in Serialize() function in gatekeeper::GateKeeperMessage
/system/connectivity/shill/
Djson_store.cc451 if (!json_serializer.Serialize(root)) { in Flush()
/system/tpm/attestation/server/
Dpkcs11_key_store_test.cc223 parsed.Serialize(attributes_out); in GetAttributeValue()