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