Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Unified Diff: net/quic/crypto/quic_decrypter.h

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/crypto/quic_crypto_client_config.cc ('k') | net/quic/quic_ack_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « net/quic/crypto/quic_crypto_client_config.cc ('k') | net/quic/quic_ack_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698