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

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

Issue 449273002: Along with sending the SCUP message, this CL includes small fixes which (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Trigger_QUIC_tracegraf_72571464
Patch Set: Created 6 years, 4 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_client_config.cc » ('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 x509_ecdsa_supported(false) {
17 } 18 }
18 19
19 QuicCryptoNegotiatedParameters::~QuicCryptoNegotiatedParameters() {} 20 QuicCryptoNegotiatedParameters::~QuicCryptoNegotiatedParameters() {}
20 21
21 CrypterPair::CrypterPair() {} 22 CrypterPair::CrypterPair() {}
22 23
23 CrypterPair::~CrypterPair() {} 24 CrypterPair::~CrypterPair() {}
24 25
25 // static 26 // static
26 const char QuicCryptoConfig::kInitialLabel[] = "QUIC key expansion"; 27 const char QuicCryptoConfig::kInitialLabel[] = "QUIC key expansion";
27 28
28 // static 29 // static
29 const char QuicCryptoConfig::kCETVLabel[] = "QUIC CETV block"; 30 const char QuicCryptoConfig::kCETVLabel[] = "QUIC CETV block";
30 31
31 // static 32 // static
32 const char QuicCryptoConfig::kForwardSecureLabel[] = 33 const char QuicCryptoConfig::kForwardSecureLabel[] =
33 "QUIC forward secure key expansion"; 34 "QUIC forward secure key expansion";
34 35
35 QuicCryptoConfig::QuicCryptoConfig() 36 QuicCryptoConfig::QuicCryptoConfig()
36 : common_cert_sets(CommonCertSets::GetInstanceQUIC()) { 37 : common_cert_sets(CommonCertSets::GetInstanceQUIC()) {
37 } 38 }
38 39
39 QuicCryptoConfig::~QuicCryptoConfig() {} 40 QuicCryptoConfig::~QuicCryptoConfig() {}
40 41
41 } // namespace net 42 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/crypto/crypto_handshake.h ('k') | net/quic/crypto/quic_crypto_client_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698