| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/core/crypto/quic_crypto_server_config.h" | 5 #include "net/quic/core/crypto/quic_crypto_server_config.h" |
| 6 | 6 |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "crypto/hkdf.h" | 13 #include "crypto/hkdf.h" |
| 14 #include "crypto/secure_hash.h" | 14 #include "crypto/secure_hash.h" |
| 15 #include "net/base/ip_address.h" | |
| 16 #include "net/quic/core/crypto/aes_128_gcm_12_decrypter.h" | 15 #include "net/quic/core/crypto/aes_128_gcm_12_decrypter.h" |
| 17 #include "net/quic/core/crypto/aes_128_gcm_12_encrypter.h" | 16 #include "net/quic/core/crypto/aes_128_gcm_12_encrypter.h" |
| 18 #include "net/quic/core/crypto/cert_compressor.h" | 17 #include "net/quic/core/crypto/cert_compressor.h" |
| 19 #include "net/quic/core/crypto/chacha20_poly1305_encrypter.h" | 18 #include "net/quic/core/crypto/chacha20_poly1305_encrypter.h" |
| 20 #include "net/quic/core/crypto/channel_id.h" | 19 #include "net/quic/core/crypto/channel_id.h" |
| 21 #include "net/quic/core/crypto/crypto_framer.h" | 20 #include "net/quic/core/crypto/crypto_framer.h" |
| 22 #include "net/quic/core/crypto/crypto_handshake_message.h" | 21 #include "net/quic/core/crypto/crypto_handshake_message.h" |
| 23 #include "net/quic/core/crypto/crypto_server_config_protobuf.h" | 22 #include "net/quic/core/crypto/crypto_server_config_protobuf.h" |
| 24 #include "net/quic/core/crypto/crypto_utils.h" | 23 #include "net/quic/core/crypto/crypto_utils.h" |
| 25 #include "net/quic/core/crypto/curve25519_key_exchange.h" | 24 #include "net/quic/core/crypto/curve25519_key_exchange.h" |
| (...skipping 1992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2018 } | 2017 } |
| 2019 | 2018 |
| 2020 QuicCryptoServerConfig::Config::Config() | 2019 QuicCryptoServerConfig::Config::Config() |
| 2021 : channel_id_enabled(false), | 2020 : channel_id_enabled(false), |
| 2022 is_primary(false), | 2021 is_primary(false), |
| 2023 primary_time(QuicWallTime::Zero()), | 2022 primary_time(QuicWallTime::Zero()), |
| 2024 expiry_time(QuicWallTime::Zero()), | 2023 expiry_time(QuicWallTime::Zero()), |
| 2025 priority(0), | 2024 priority(0), |
| 2026 source_address_token_boxer(nullptr) {} | 2025 source_address_token_boxer(nullptr) {} |
| 2027 | 2026 |
| 2028 QuicCryptoServerConfig::Config::~Config() { | 2027 QuicCryptoServerConfig::Config::~Config() {} |
| 2029 } | |
| 2030 | 2028 |
| 2031 QuicSignedServerConfig::QuicSignedServerConfig() {} | 2029 QuicSignedServerConfig::QuicSignedServerConfig() {} |
| 2032 QuicSignedServerConfig::~QuicSignedServerConfig() {} | 2030 QuicSignedServerConfig::~QuicSignedServerConfig() {} |
| 2033 | 2031 |
| 2034 } // namespace net | 2032 } // namespace net |
| OLD | NEW |