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

Unified Diff: net/quic/quic_framer.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/quic_crypto_server_stream_test.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_framer.h
diff --git a/net/quic/quic_framer.h b/net/quic/quic_framer.h
index 5960e613cdffc92bc0d6b805e6c20180bd1826a2..2a8b0badce3023aa3e4dae8041bc7112430da34e 100644
--- a/net/quic/quic_framer.h
+++ b/net/quic/quic_framer.h
@@ -264,6 +264,7 @@ class NET_EXPORT_PRIVATE QuicFramer {
QuicConnectionIdLength connection_id_length,
bool includes_version,
bool includes_path_id,
+ bool includes_diversification_nonce,
QuicPacketNumberLength packet_number_length);
// Serializes a packet containing |frames| into |buffer|.
@@ -554,6 +555,8 @@ class NET_EXPORT_PRIVATE QuicFramer {
// The time delta computed for the last timestamp frame. This is relative to
// the creation_time.
QuicTime::Delta last_timestamp_;
+ // The diversification nonce from the last received packet.
+ DiversificationNonce last_nonce_;
DISALLOW_COPY_AND_ASSIGN(QuicFramer);
};
« no previous file with comments | « net/quic/quic_crypto_server_stream_test.cc ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698