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