| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/test_tools/crypto_test_utils.h" | 5 #include "net/quic/test_tools/crypto_test_utils.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "net/quic/core/crypto/channel_id.h" | 9 #include "net/quic/core/crypto/channel_id.h" |
| 10 #include "net/quic/core/crypto/common_cert_set.h" | 10 #include "net/quic/core/crypto/common_cert_set.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "net/quic/platform/api/quic_socket_address.h" | 24 #include "net/quic/platform/api/quic_socket_address.h" |
| 25 #include "net/quic/platform/api/quic_text_utils.h" | 25 #include "net/quic/platform/api/quic_text_utils.h" |
| 26 #include "net/quic/test_tools/quic_connection_peer.h" | 26 #include "net/quic/test_tools/quic_connection_peer.h" |
| 27 #include "net/quic/test_tools/quic_framer_peer.h" | 27 #include "net/quic/test_tools/quic_framer_peer.h" |
| 28 #include "net/quic/test_tools/quic_stream_peer.h" | 28 #include "net/quic/test_tools/quic_stream_peer.h" |
| 29 #include "net/quic/test_tools/quic_test_utils.h" | 29 #include "net/quic/test_tools/quic_test_utils.h" |
| 30 #include "net/quic/test_tools/simple_quic_framer.h" | 30 #include "net/quic/test_tools/simple_quic_framer.h" |
| 31 #include "third_party/boringssl/src/include/openssl/bn.h" | 31 #include "third_party/boringssl/src/include/openssl/bn.h" |
| 32 #include "third_party/boringssl/src/include/openssl/ec.h" | 32 #include "third_party/boringssl/src/include/openssl/ec.h" |
| 33 #include "third_party/boringssl/src/include/openssl/ecdsa.h" | 33 #include "third_party/boringssl/src/include/openssl/ecdsa.h" |
| 34 #include "third_party/boringssl/src/include/openssl/obj_mac.h" | 34 #include "third_party/boringssl/src/include/openssl/nid.h" |
| 35 #include "third_party/boringssl/src/include/openssl/sha.h" | 35 #include "third_party/boringssl/src/include/openssl/sha.h" |
| 36 | 36 |
| 37 using std::string; | 37 using std::string; |
| 38 | 38 |
| 39 namespace net { | 39 namespace net { |
| 40 namespace test { | 40 namespace test { |
| 41 | 41 |
| 42 TestChannelIDKey::TestChannelIDKey(EVP_PKEY* ecdsa_key) | 42 TestChannelIDKey::TestChannelIDKey(EVP_PKEY* ecdsa_key) |
| 43 : ecdsa_key_(ecdsa_key) {} | 43 : ecdsa_key_(ecdsa_key) {} |
| 44 TestChannelIDKey::~TestChannelIDKey() {} | 44 TestChannelIDKey::~TestChannelIDKey() {} |
| (...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 980 FullChloGenerator generator(crypto_config, server_addr, client_addr, clock, | 980 FullChloGenerator generator(crypto_config, server_addr, client_addr, clock, |
| 981 proof, compressed_certs_cache, out); | 981 proof, compressed_certs_cache, out); |
| 982 crypto_config->ValidateClientHello( | 982 crypto_config->ValidateClientHello( |
| 983 inchoate_chlo, client_addr.host(), server_addr, version, clock, proof, | 983 inchoate_chlo, client_addr.host(), server_addr, version, clock, proof, |
| 984 generator.GetValidateClientHelloCallback()); | 984 generator.GetValidateClientHelloCallback()); |
| 985 } | 985 } |
| 986 | 986 |
| 987 } // namespace crypto_test_utils | 987 } // namespace crypto_test_utils |
| 988 } // namespace test | 988 } // namespace test |
| 989 } // namespace net | 989 } // namespace net |
| OLD | NEW |