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 "base/string_piece.h" | 7 #include "base/strings/string_piece.h" |
8 #include "net/quic/crypto/quic_decrypter.h" | 8 #include "net/quic/crypto/quic_decrypter.h" |
9 #include "net/quic/crypto/quic_encrypter.h" | 9 #include "net/quic/crypto/quic_encrypter.h" |
10 #include "net/quic/quic_crypto_client_stream.h" | 10 #include "net/quic/quic_crypto_client_stream.h" |
11 #include "net/quic/quic_crypto_server_stream.h" | 11 #include "net/quic/quic_crypto_server_stream.h" |
12 #include "net/quic/quic_crypto_stream.h" | 12 #include "net/quic/quic_crypto_stream.h" |
13 #include "net/quic/test_tools/quic_test_utils.h" | 13 #include "net/quic/test_tools/quic_test_utils.h" |
14 #include "net/quic/test_tools/simple_quic_framer.h" | 14 #include "net/quic/test_tools/simple_quic_framer.h" |
15 | 15 |
16 using base::StringPiece; | 16 using base::StringPiece; |
17 using std::string; | 17 using std::string; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 client_decrypter_key.data(), | 151 client_decrypter_key.data(), |
152 client_decrypter_key.length()); | 152 client_decrypter_key.length()); |
153 CompareCharArraysWithHexError("server write IV", | 153 CompareCharArraysWithHexError("server write IV", |
154 server_encrypter_iv.data(), | 154 server_encrypter_iv.data(), |
155 server_encrypter_iv.length(), | 155 server_encrypter_iv.length(), |
156 client_decrypter_iv.data(), | 156 client_decrypter_iv.data(), |
157 client_decrypter_iv.length()); | 157 client_decrypter_iv.length()); |
158 } | 158 } |
159 } // namespace test | 159 } // namespace test |
160 } // namespace net | 160 } // namespace net |
OLD | NEW |