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

Side by Side Diff: net/quic/crypto/crypto_handshake.cc

Issue 1660443002: QuicCryptoProof now takes a ref to the Config instead of its SCID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@112982328
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « net/quic/crypto/crypto_handshake.h ('k') | net/quic/crypto/quic_crypto_server_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/crypto/crypto_handshake.h" 5 #include "net/quic/crypto/crypto_handshake.h"
6 6
7 #include "net/quic/crypto/common_cert_set.h" 7 #include "net/quic/crypto/common_cert_set.h"
8 #include "net/quic/crypto/key_exchange.h" 8 #include "net/quic/crypto/key_exchange.h"
9 #include "net/quic/crypto/quic_decrypter.h" 9 #include "net/quic/crypto/quic_decrypter.h"
10 #include "net/quic/crypto/quic_encrypter.h" 10 #include "net/quic/crypto/quic_encrypter.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 QuicCryptoNegotiatedParameters::QuicCryptoNegotiatedParameters() 14 QuicCryptoNegotiatedParameters::QuicCryptoNegotiatedParameters()
15 : key_exchange(0), 15 : key_exchange(0),
16 aead(0), 16 aead(0),
17 token_binding_key_param(0), 17 token_binding_key_param(0),
18 x509_ecdsa_supported(false), 18 x509_ecdsa_supported(false),
19 x509_supported(false), 19 x509_supported(false),
20 sct_supported_by_client(false) {} 20 sct_supported_by_client(false) {}
21 21
22 QuicCryptoNegotiatedParameters::~QuicCryptoNegotiatedParameters() {} 22 QuicCryptoNegotiatedParameters::~QuicCryptoNegotiatedParameters() {}
23 23
24 QuicCryptoProof::QuicCryptoProof() : certs(nullptr) {}
25 QuicCryptoProof::~QuicCryptoProof() {}
26
27 CrypterPair::CrypterPair() {} 24 CrypterPair::CrypterPair() {}
28 25
29 CrypterPair::~CrypterPair() {} 26 CrypterPair::~CrypterPair() {}
30 27
31 // static 28 // static
32 const char QuicCryptoConfig::kInitialLabel[] = "QUIC key expansion"; 29 const char QuicCryptoConfig::kInitialLabel[] = "QUIC key expansion";
33 30
34 // static 31 // static
35 const char QuicCryptoConfig::kCETVLabel[] = "QUIC CETV block"; 32 const char QuicCryptoConfig::kCETVLabel[] = "QUIC CETV block";
36 33
37 // static 34 // static
38 const char QuicCryptoConfig::kForwardSecureLabel[] = 35 const char QuicCryptoConfig::kForwardSecureLabel[] =
39 "QUIC forward secure key expansion"; 36 "QUIC forward secure key expansion";
40 37
41 QuicCryptoConfig::QuicCryptoConfig() 38 QuicCryptoConfig::QuicCryptoConfig()
42 : common_cert_sets(CommonCertSets::GetInstanceQUIC()) {} 39 : common_cert_sets(CommonCertSets::GetInstanceQUIC()) {}
43 40
44 QuicCryptoConfig::~QuicCryptoConfig() {} 41 QuicCryptoConfig::~QuicCryptoConfig() {}
45 42
46 } // namespace net 43 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_handshake.h ('k') | net/quic/crypto/quic_crypto_server_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698