OLD | NEW |
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), aead(0) { |
16 aead(0) { | |
17 } | 16 } |
18 | 17 |
19 QuicCryptoNegotiatedParameters::~QuicCryptoNegotiatedParameters() {} | 18 QuicCryptoNegotiatedParameters::~QuicCryptoNegotiatedParameters() { |
| 19 } |
20 | 20 |
21 CrypterPair::CrypterPair() {} | 21 CrypterPair::CrypterPair() { |
| 22 } |
22 | 23 |
23 CrypterPair::~CrypterPair() {} | 24 CrypterPair::~CrypterPair() { |
| 25 } |
24 | 26 |
25 // static | 27 // static |
26 const char QuicCryptoConfig::kInitialLabel[] = "QUIC key expansion"; | 28 const char QuicCryptoConfig::kInitialLabel[] = "QUIC key expansion"; |
27 | 29 |
28 // static | 30 // static |
29 const char QuicCryptoConfig::kCETVLabel[] = "QUIC CETV block"; | 31 const char QuicCryptoConfig::kCETVLabel[] = "QUIC CETV block"; |
30 | 32 |
31 // static | 33 // static |
32 const char QuicCryptoConfig::kForwardSecureLabel[] = | 34 const char QuicCryptoConfig::kForwardSecureLabel[] = |
33 "QUIC forward secure key expansion"; | 35 "QUIC forward secure key expansion"; |
34 | 36 |
35 QuicCryptoConfig::QuicCryptoConfig() | 37 QuicCryptoConfig::QuicCryptoConfig() |
36 : common_cert_sets(CommonCertSets::GetInstanceQUIC()) { | 38 : common_cert_sets(CommonCertSets::GetInstanceQUIC()) { |
37 } | 39 } |
38 | 40 |
39 QuicCryptoConfig::~QuicCryptoConfig() {} | 41 QuicCryptoConfig::~QuicCryptoConfig() { |
| 42 } |
40 | 43 |
41 } // namespace net | 44 } // namespace net |
OLD | NEW |