Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp71 size_t KeymasterResponse::SerializedSize() const { in SerializedSize() function in keymaster::KeymasterResponse
98 return key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
120 size_t GetKeyCharacteristicsRequest::SerializedSize() const { in SerializedSize() function in keymaster::GetKeyCharacteristicsRequest
121 return key_blob_size(key_blob) + additional_params.SerializedSize(); in SerializedSize()
135 return enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
152 size_t BeginOperationRequest::SerializedSize() const { in SerializedSize() function in keymaster::BeginOperationRequest
154 additional_params.SerializedSize(); in SerializedSize()
173 return sizeof(op_handle) + output_params.SerializedSize(); in NonErrorSerializedSize()
190 size_t UpdateOperationRequest::SerializedSize() const { in SerializedSize() function in keymaster::UpdateOperationRequest
192 return sizeof(op_handle) + input.SerializedSize(); in SerializedSize()
[all …]
Dserializable.cpp138 size_t Buffer::SerializedSize() const { in SerializedSize() function in keymaster::Buffer
Dauthorization_set.cpp425 size_t AuthorizationSet::SerializedSize() const { in SerializedSize() function in keymaster::AuthorizationSet
/system/keymaster/key_blob_utils/
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.cpp53 size_t hidden_bytes_size = hidden.SerializedSize(); in ComputeHmac()
85 key_material.SerializedSize() + // in SerializeIntegrityAssuredBlob()
86 hw_enforced.SerializedSize() + // in SerializeIntegrityAssuredBlob()
87 sw_enforced.SerializedSize() + // in SerializeIntegrityAssuredBlob()
Docb_utils.cpp54 hidden.SerializedSize() + hw_enforced.SerializedSize() + sw_enforced.SerializedSize(); in BuildDerivationData()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h120 size_t SerializedSize() const override;
135 size_t SerializedSize() const override { return 0; }; in SerializedSize() function
145 size_t SerializedSize() const override { return sizeof(uint32_t); }; in SerializedSize() function
170 size_t SerializedSize() const override { return sizeof(uint32_t) * 2; }; in SerializedSize() function
270 size_t SerializedSize() const override { return key_description.SerializedSize(); } in SerializedSize() function
310 size_t SerializedSize() const override;
341 size_t SerializedSize() const override;
364 size_t SerializedSize() const override;
389 size_t SerializedSize() const override;
413 size_t SerializedSize() const override { return sizeof(uint64_t); } in SerializedSize() function
[all …]
Dserializable.h40 virtual size_t SerializedSize() const = 0;
250 size_t SerializedSize() const;
Dandroid_keymaster_utils.h383 size_t SerializedSize() const { return sizeof(uint32_t) + accessBlobSize(this); } in SerializedSize() function
Dauthorization_set.h436 size_t SerializedSize() const;
/system/core/trusty/keymaster/ipc/
Dtrusty_keymaster_ipc.cpp147 uint32_t req_size = req.SerializedSize(); in trusty_keymaster_send()
/system/keymaster/tests/
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()
276 size_t size = set.SerializedSize(); in TEST()
362 size_t serialize_size = growable.SerializedSize(); in TEST()
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()
479 size_t size = msg.SerializedSize(); in TEST()
498 size_t size = msg.SerializedSize(); in TEST()
Dandroid_keymaster_test.cpp215 EXPECT_GT(auths.SerializedSize(), 12U); in CheckBaseParams()
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp407 size_t ser_size = request.SerializedSize(); in update()
/system/core/trusty/keymaster/legacy/
Dtrusty_keymaster_device_test.cpp76 *out_size = rsp.SerializedSize(); in fake_call()
Dtrusty_keymaster_device.cpp503 size_t max_input_size = TRUSTY_KEYMASTER_SEND_BUF_SIZE - request.SerializedSize(); in update()