• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #include "net/quic/crypto/crypto_handshake.h"
6 
7 #include "net/quic/crypto/common_cert_set.h"
8 #include "net/quic/crypto/key_exchange.h"
9 #include "net/quic/crypto/quic_decrypter.h"
10 #include "net/quic/crypto/quic_encrypter.h"
11 
12 namespace net {
13 
QuicCryptoNegotiatedParameters()14 QuicCryptoNegotiatedParameters::QuicCryptoNegotiatedParameters()
15     : key_exchange(0),
16       aead(0),
17       x509_ecdsa_supported(false) {
18 }
19 
~QuicCryptoNegotiatedParameters()20 QuicCryptoNegotiatedParameters::~QuicCryptoNegotiatedParameters() {}
21 
CrypterPair()22 CrypterPair::CrypterPair() {}
23 
~CrypterPair()24 CrypterPair::~CrypterPair() {}
25 
26 // static
27 const char QuicCryptoConfig::kInitialLabel[] = "QUIC key expansion";
28 
29 // static
30 const char QuicCryptoConfig::kCETVLabel[] = "QUIC CETV block";
31 
32 // static
33 const char QuicCryptoConfig::kForwardSecureLabel[] =
34     "QUIC forward secure key expansion";
35 
QuicCryptoConfig()36 QuicCryptoConfig::QuicCryptoConfig()
37     : common_cert_sets(CommonCertSets::GetInstanceQUIC()) {
38 }
39 
~QuicCryptoConfig()40 QuicCryptoConfig::~QuicCryptoConfig() {}
41 
42 }  // namespace net
43