xref: /aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/crypto_handshake.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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 "quiche/quic/core/crypto/crypto_handshake.h"
6 
7 #include "quiche/quic/core/crypto/key_exchange.h"
8 #include "quiche/quic/core/crypto/quic_decrypter.h"
9 #include "quiche/quic/core/crypto/quic_encrypter.h"
10 
11 namespace quic {
12 
QuicCryptoNegotiatedParameters()13 QuicCryptoNegotiatedParameters::QuicCryptoNegotiatedParameters()
14     : key_exchange(0),
15       aead(0),
16       token_binding_key_param(0),
17       sct_supported_by_client(false) {}
18 
~QuicCryptoNegotiatedParameters()19 QuicCryptoNegotiatedParameters::~QuicCryptoNegotiatedParameters() {}
20 
CrypterPair()21 CrypterPair::CrypterPair() {}
22 
~CrypterPair()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() = default;
36 
37 QuicCryptoConfig::~QuicCryptoConfig() = default;
38 
39 }  // namespace quic
40