Searched refs:SerializedSize (Results 1 – 14 of 14) sorted by relevance
37 size_t HmacSerializable::SerializedSize() const { in SerializedSize() function in cuttlefish::HmacSerializable39 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()
159 size_t EncryptedSerializable::SerializedSize() const { in SerializedSize() function in cuttlefish::EncryptedSerializable171 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()
35 size_t SerializedSize() const override;46 size_t JsonSerializable::SerializedSize() const { in SerializedSize() function in cuttlefish::JsonSerializable98 auto size = sign_check.SerializedSize(); in WriteProtectedJsonToFile()
26 size_t CompositeSerializable::SerializedSize() const { in SerializedSize() function in cuttlefish::CompositeSerializable29 sum += member->SerializedSize(); in SerializedSize()
36 size_t SerializedSize() const override;
46 size_t SerializedSize() const override;
54 size_t SerializedSize() const override;
50 size_t SerializedSize() const override;
38 std::vector<uint8_t> encrypted_data(encrypt_input.SerializedSize()); in TEST()
48 size_t TpmSerializable<T>::SerializedSize() const { in SerializedSize() function in cuttlefish::TpmSerializable
167 std::vector<uint8_t> data(serializable.SerializedSize() + 1); in SerializableToKeyBlob()
279 std::vector<uint8_t> token_buf_to_sign(token->SerializedSize(), 0); in GenerateTimestampToken()
50 auto payload_size = message.SerializedSize(); in SendMessage()
121 auto payload_size = message.SerializedSize(); in SendMessage()