Home
last modified time | relevance | path

Searched refs:SerializedSize (Results 1 – 14 of 14) sorted by relevance

/system/keymaster/
Dandroid_keymaster_messages.cpp53 size_t KeymasterResponse::SerializedSize() const { in SerializedSize() function in keymaster::KeymasterResponse
80 return key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
102 size_t GetKeyCharacteristicsRequest::SerializedSize() const { in SerializedSize() function in keymaster::GetKeyCharacteristicsRequest
103 return key_blob_size(key_blob) + additional_params.SerializedSize(); in SerializedSize()
117 return enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
134 size_t BeginOperationRequest::SerializedSize() const { in SerializedSize() function in keymaster::BeginOperationRequest
136 additional_params.SerializedSize(); in SerializedSize()
155 return sizeof(op_handle) + output_params.SerializedSize(); in NonErrorSerializedSize()
172 size_t UpdateOperationRequest::SerializedSize() const { in SerializedSize() function in keymaster::UpdateOperationRequest
174 return sizeof(op_handle) + input.SerializedSize(); in SerializedSize()
[all …]
Dauth_encrypted_key_blob.cpp35 size_t size = 1 /* version byte */ + nonce.SerializedSize() + in SerializeAuthEncryptedBlob()
36 encrypted_key_material.SerializedSize() + tag.SerializedSize() + in SerializeAuthEncryptedBlob()
37 hw_enforced.SerializedSize() + sw_enforced.SerializedSize(); in SerializeAuthEncryptedBlob()
Dintegrity_assured_key_blob.cpp54 size_t hidden_bytes_size = hidden.SerializedSize(); in ComputeHmac()
86 key_material.SerializedSize() + // in SerializeIntegrityAssuredBlob()
87 hw_enforced.SerializedSize() + // in SerializeIntegrityAssuredBlob()
88 sw_enforced.SerializedSize() + // in SerializeIntegrityAssuredBlob()
Docb_utils.cpp54 hidden.SerializedSize() + hw_enforced.SerializedSize() + sw_enforced.SerializedSize(); in BuildDerivationData()
Dauthorization_set_test.cpp162 size_t size = set.SerializedSize(); in TEST()
190 size_t size = set.SerializedSize(); in TEST()
235 size_t size = set.SerializedSize(); in TEST()
267 size_t size = set.SerializedSize(); in TEST()
353 size_t serialize_size = growable.SerializedSize(); in TEST()
Dserializable.cpp138 size_t Buffer::SerializedSize() const { in SerializedSize() function in keymaster::Buffer
Dkey_blob_test.cpp207 size_t hw_enforced_size = hw_enforced_.SerializedSize(); in TEST_F()
230 size_t sw_enforced_size = sw_enforced_.SerializedSize(); in TEST_F()
Dandroid_keymaster_messages_test.cpp35 size_t size = message.SerializedSize(); in round_trip()
469 size_t size = msg.SerializedSize(); in TEST()
488 size_t size = msg.SerializedSize(); in TEST()
Dauthorization_set.cpp353 size_t AuthorizationSet::SerializedSize() const { in SerializedSize() function in keymaster::AuthorizationSet
Dandroid_keymaster_test.cpp310 EXPECT_GT(auths.SerializedSize(), 12U); in CheckBaseParams()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h104 size_t SerializedSize() const override;
119 size_t SerializedSize() const override { return 0; }; in SerializedSize() function
130 size_t SerializedSize() const override { return sizeof(uint32_t); }; in SerializedSize() function
148 size_t SerializedSize() const override { return sizeof(uint32_t) * 2; }; in SerializedSize() function
215 size_t SerializedSize() const override { return key_description.SerializedSize(); } in SerializedSize() function
255 size_t SerializedSize() const override;
286 size_t SerializedSize() const;
309 size_t SerializedSize() const override;
334 size_t SerializedSize() const override;
357 size_t SerializedSize() const override { return sizeof(uint64_t); } in SerializedSize() function
[all …]
Dserializable.h39 virtual size_t SerializedSize() const = 0;
236 size_t SerializedSize() const;
Dandroid_keymaster_utils.h286 size_t SerializedSize() const { return sizeof(uint32_t) + key_material_size; } in SerializedSize() function
Dauthorization_set.h367 size_t SerializedSize() const;