Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/secure_env/
Dhmac_serializable.cpp37 size_t HmacSerializable::SerializedSize() const { in SerializedSize() function in cuttlefish::HmacSerializable
39 auto data_size = sizeof(uint32_t) + wrapped_->SerializedSize(); in SerializedSize()
44 auto wrapped_size = wrapped_->SerializedSize(); in Serialize()
137 std::vector<uint8_t> output(sensitive_size + aad_->SerializedSize()); in AppendAad()
Dencrypted_serializable.cpp159 size_t EncryptedSerializable::SerializedSize() const { in SerializedSize() function in cuttlefish::EncryptedSerializable
171 auto encrypted_size = RoundUpToBlockSize(wrapped_.SerializedSize()); in SerializedSize()
172 size_t size = serialize_public.SerializedSize(); // tpm key public part in SerializedSize()
173 size += serialize_private.SerializedSize(); // tpm key private part in SerializedSize()
207 auto wrapped_size = wrapped_.SerializedSize(); in Serialize()
Djson_serializable.cpp35 size_t SerializedSize() const override;
46 size_t JsonSerializable::SerializedSize() const { in SerializedSize() function in cuttlefish::JsonSerializable
98 auto size = sign_check.SerializedSize(); in WriteProtectedJsonToFile()
Dcomposite_serialization.cpp26 size_t CompositeSerializable::SerializedSize() const { in SerializedSize() function in cuttlefish::CompositeSerializable
29 sum += member->SerializedSize(); in SerializedSize()
Dcomposite_serialization.h36 size_t SerializedSize() const override;
Dtpm_serialize.h46 size_t SerializedSize() const override;
Dencrypted_serializable.h54 size_t SerializedSize() const override;
Dhmac_serializable.h50 size_t SerializedSize() const override;
Dencrypted_serializable_test.cpp38 std::vector<uint8_t> encrypted_data(encrypt_input.SerializedSize()); in TEST()
Dtpm_serialize.cpp48 size_t TpmSerializable<T>::SerializedSize() const { in SerializedSize() function in cuttlefish::TpmSerializable
Dtpm_key_blob_maker.cpp167 std::vector<uint8_t> data(serializable.SerializedSize() + 1); in SerializableToKeyBlob()
Dtpm_keymaster_enforcement.cpp279 std::vector<uint8_t> token_buf_to_sign(token->SerializedSize(), 0); in GenerateTimestampToken()
/device/google/cuttlefish/common/libs/security/
Dkeymaster_channel_sharedfd.cpp50 auto payload_size = message.SerializedSize(); in SendMessage()
Dkeymaster_channel_windows.cpp121 auto payload_size = message.SerializedSize(); in SendMessage()