| Index: net/quic/crypto/quic_encrypter.h
|
| diff --git a/net/quic/crypto/quic_encrypter.h b/net/quic/crypto/quic_encrypter.h
|
| index 5cb40a1fa5afbe136ece0ad1acebf5639784dc8c..2e565c543bc1cf2e776caf268bd88eb045d8a2e1 100644
|
| --- a/net/quic/crypto/quic_encrypter.h
|
| +++ b/net/quic/crypto/quic_encrypter.h
|
| @@ -53,9 +53,12 @@ class NET_EXPORT_PRIVATE QuicEncrypter {
|
| // |plaintext| as well as a MAC over both |plaintext| and |associated_data|,
|
| // or nullptr if there is an error. |sequence_number| is appended to the
|
| // |nonce_prefix| value provided in SetNoncePrefix() to form the nonce.
|
| - virtual QuicData* EncryptPacket(QuicPacketSequenceNumber sequence_number,
|
| - base::StringPiece associated_data,
|
| - base::StringPiece plaintext) = 0;
|
| + virtual bool EncryptPacket(QuicPacketSequenceNumber sequence_number,
|
| + base::StringPiece associated_data,
|
| + base::StringPiece plaintext,
|
| + char* output,
|
| + size_t* output_length,
|
| + size_t max_output_length) = 0;
|
|
|
| // GetKeySize() and GetNoncePrefixSize() tell the HKDF class how many bytes
|
| // of key material needs to be derived from the master secret.
|
|
|