Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp162 size_t KeymasterResponse::SerializedSize() const { in SerializedSize() function in keymaster::KeymasterResponse
181 size_t GenerateKeyRequest::SerializedSize() const { in SerializedSize() function in keymaster::GenerateKeyRequest
182 size_t size = key_description.SerializedSize(); in SerializedSize()
186 + attest_key_params.SerializedSize() // in SerializedSize()
208 key_blob_size(key_blob) + enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
246 size_t GenerateCsrRequest::SerializedSize() const { in SerializedSize() function in keymaster::GenerateCsrRequest
321 size_t GetKeyCharacteristicsRequest::SerializedSize() const { in SerializedSize() function in keymaster::GetKeyCharacteristicsRequest
322 return key_blob_size(key_blob) + additional_params.SerializedSize(); in SerializedSize()
336 return enforced.SerializedSize() + unenforced.SerializedSize(); in NonErrorSerializedSize()
353 size_t BeginOperationRequest::SerializedSize() const { in SerializedSize() function in keymaster::BeginOperationRequest
[all …]
Dserializable.cpp138 size_t Buffer::SerializedSize() const { in SerializedSize() function in keymaster::Buffer
Dauthorization_set.cpp407 size_t AuthorizationSet::SerializedSize() const { in SerializedSize() function in keymaster::AuthorizationSet
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h167 size_t SerializedSize() const override;
182 size_t SerializedSize() const override { return 0; } in SerializedSize() function
200 size_t SerializedSize() const override { return 0; }; in SerializedSize() function
211 size_t SerializedSize() const override { return sizeof(uint32_t); }; in SerializedSize() function
236 size_t SerializedSize() const override { return sizeof(uint32_t) * 2; }; in SerializedSize() function
343 size_t SerializedSize() const override;
370 size_t SerializedSize() const override { return sizeof(uint8_t); } in SerializedSize() function
397 size_t SerializedSize() const override;
435 size_t SerializedSize() const override;
466 size_t SerializedSize() const override;
[all …]
Dserializable.h37 virtual size_t SerializedSize() const = 0;
261 size_t SerializedSize() const;
Dandroid_keymaster_utils.h212 size_t SerializedSize() const { return sizeof(uint32_t) + accessBlobSize(this); } in SerializedSize() function
Dauthorization_set.h440 size_t SerializedSize() const;
/system/keymaster/key_blob_utils/
Dintegrity_assured_key_blob.cpp50 size_t hidden_bytes_size = hidden.SerializedSize(); in ComputeHmac()
81 key_material.SerializedSize() + // in SerializeIntegrityAssuredBlob()
82 hw_enforced.SerializedSize() + // in SerializeIntegrityAssuredBlob()
83 sw_enforced.SerializedSize() + // in SerializeIntegrityAssuredBlob()
Dauth_encrypted_key_blob.cpp59 size_t info_len = sizeof(kAesGcmDescriptor) + hidden.SerializedSize() + in BuildAesGcmInfo()
60 hw_enforced.SerializedSize() + sw_enforced.SerializedSize(); in BuildAesGcmInfo()
213 size_t size = 1 /* version byte */ + encrypted_key.nonce.SerializedSize() + in SerializeAuthEncryptedBlob()
214 encrypted_key.ciphertext.SerializedSize() + encrypted_key.tag.SerializedSize() + in SerializeAuthEncryptedBlob()
215 hw_enforced.SerializedSize() + sw_enforced.SerializedSize(); in SerializeAuthEncryptedBlob()
Docb_utils.cpp52 hidden.SerializedSize() + hw_enforced.SerializedSize() + sw_enforced.SerializedSize(); in BuildDerivationData()
/system/keymaster/tests/fuzzers/
Dmessage_serializable_fuzz.cpp38 uint16_t buf_size = ser->SerializedSize(); in RunSerialize()
Dbuffer_fuzz.cpp61 uint16_t buf_size = buf->SerializedSize(); in __anon10ed34010902()
/system/core/trusty/keymaster/set_attestation_key/
Dset_attestation_key.cpp76 size_t SerializedSize() const override { return sizeof(uint32_t) + key_data.SerializedSize(); } in SerializedSize() function
105 size_t SerializedSize() const override { return sizeof(uint32_t); } in SerializedSize() function
/system/core/trusty/keymaster/keymint/
DTrustyKeyMintOperation.cpp80 size_t serialized_size = request.SerializedSize(); in update()
135 size_t serialized_size = request.SerializedSize(); in finish()
/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.cpp169 size_t size = set.SerializedSize(); in TEST()
197 size_t size = set.SerializedSize(); in TEST()
242 size_t size = set.SerializedSize(); in TEST()
283 size_t size = set.SerializedSize(); in TEST()
369 size_t serialize_size = growable.SerializedSize(); in TEST()
Dkey_blob_test.cpp218 size_t hw_enforced_size = hw_enforced_.SerializedSize(); in TEST_F()
239 size_t sw_enforced_size = sw_enforced_.SerializedSize(); in TEST_F()
Dandroid_keymaster_messages_test.cpp35 size_t size = message.SerializedSize(); in round_trip()
595 size_t size = msg.SerializedSize(); in TEST()
614 size_t size = msg.SerializedSize(); in TEST()
633 size_t size = msg.SerializedSize(); in TEST()
652 size_t size = msg.SerializedSize(); in TEST()
Dandroid_keymaster_test.cpp216 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/4.0/
DTrustyKeymaster4Device.cpp554 size_t ser_size = request.SerializedSize(); in update()