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

Unified Diff: net/quic/quic_connection.h

Issue 1904213002: QUIC: support diversified keys with version 33. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hkdf
Patch Set: Rebase Created 4 years, 8 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/p2p/quic_p2p_crypto_config.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 443aaa444565d27e787a44800f78dfb984d515d8..980f87fc0c4f0171b04bbf48cf6c46f1d52f61ca 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -548,6 +548,11 @@ class NET_EXPORT_PRIVATE QuicConnection
// takes ownership of |encrypter|.
void SetEncrypter(EncryptionLevel level, QuicEncrypter* encrypter);
+ // SetNonceForPublicHeader sets the nonce that will be transmitted in the
+ // public header of each packet encrypted at the initial encryption level
+ // decrypted. This should only be called on the server side.
+ void SetDiversificationNonce(const DiversificationNonce nonce);
+
// SetDefaultEncryptionLevel sets the encryption level that will be applied
// to new packets.
void SetDefaultEncryptionLevel(EncryptionLevel level);
« no previous file with comments | « net/quic/p2p/quic_p2p_crypto_config.cc ('k') | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698