Index: net/quic/crypto/quic_decrypter.h |
diff --git a/net/quic/crypto/quic_decrypter.h b/net/quic/crypto/quic_decrypter.h |
index 06c763709613984c59d3164741e437ac7c932d10..9e6e1d27e37082e35c18bb7e166aa7fbb43bf52c 100644 |
--- a/net/quic/crypto/quic_decrypter.h |
+++ b/net/quic/crypto/quic_decrypter.h |
@@ -39,18 +39,6 @@ class NET_EXPORT_PRIVATE QuicDecrypter { |
// packet sequence number, even when retransmitting a lost packet. |
virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) = 0; |
- // Decrypt authenticates |associated_data| and |ciphertext| and then decrypts |
- // |ciphertext| into |output|, using |nonce|. |nonce| must be 8 bytes longer |
- // than the nonce prefix length returned by GetNoncePrefixSize() (of the |
- // encrypter). |output| must be as long as |ciphertext| on entry and, on |
- // successful return, the true length of the plaintext will be written to |
- // |*output_length|. |
- virtual bool Decrypt(base::StringPiece nonce, |
- base::StringPiece associated_data, |
- base::StringPiece ciphertext, |
- unsigned char* output, |
- size_t* output_length) = 0; |
- |
// Returns a newly created QuicData object containing the decrypted |
// |ciphertext| or nullptr if there is an error. |sequence_number| is |
// appended to the |nonce_prefix| value provided in SetNoncePrefix() |