OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 | 11 |
12 #include <algorithm> | 12 #include <algorithm> |
13 #include <memory> | 13 #include <memory> |
14 #include <set> | 14 #include <set> |
15 #include <string> | 15 #include <string> |
16 | 16 |
17 #include "webrtc/rtc_base/bufferqueue.h" | 17 #include "webrtc/base/bufferqueue.h" |
18 #include "webrtc/rtc_base/checks.h" | 18 #include "webrtc/base/checks.h" |
19 #include "webrtc/rtc_base/gunit.h" | 19 #include "webrtc/base/gunit.h" |
20 #include "webrtc/rtc_base/helpers.h" | 20 #include "webrtc/base/helpers.h" |
21 #include "webrtc/rtc_base/ssladapter.h" | 21 #include "webrtc/base/ssladapter.h" |
22 #include "webrtc/rtc_base/sslidentity.h" | 22 #include "webrtc/base/sslidentity.h" |
23 #include "webrtc/rtc_base/sslstreamadapter.h" | 23 #include "webrtc/base/sslstreamadapter.h" |
24 #include "webrtc/rtc_base/stream.h" | 24 #include "webrtc/base/stream.h" |
25 | 25 |
26 using ::testing::WithParamInterface; | 26 using ::testing::WithParamInterface; |
27 using ::testing::Values; | 27 using ::testing::Values; |
28 using ::testing::Combine; | 28 using ::testing::Combine; |
29 using ::testing::tuple; | 29 using ::testing::tuple; |
30 | 30 |
31 static const int kBlockSize = 4096; | 31 static const int kBlockSize = 4096; |
32 static const char kExporterLabel[] = "label"; | 32 static const char kExporterLabel[] = "label"; |
33 static const unsigned char kExporterContext[] = "context"; | 33 static const unsigned char kExporterContext[] = "context"; |
34 static int kExporterContextLen = sizeof(kExporterContext); | 34 static int kExporterContextLen = sizeof(kExporterContext); |
(...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1343 rtc::KeyParams::ECDSA(rtc::EC_NIST_P256)))); | 1343 rtc::KeyParams::ECDSA(rtc::EC_NIST_P256)))); |
1344 INSTANTIATE_TEST_CASE_P( | 1344 INSTANTIATE_TEST_CASE_P( |
1345 SSLStreamAdapterTestsDTLS, | 1345 SSLStreamAdapterTestsDTLS, |
1346 SSLStreamAdapterTestDTLS, | 1346 SSLStreamAdapterTestDTLS, |
1347 Combine(Values(rtc::KeyParams::RSA(1024, 65537), | 1347 Combine(Values(rtc::KeyParams::RSA(1024, 65537), |
1348 rtc::KeyParams::RSA(1152, 65537), | 1348 rtc::KeyParams::RSA(1152, 65537), |
1349 rtc::KeyParams::ECDSA(rtc::EC_NIST_P256)), | 1349 rtc::KeyParams::ECDSA(rtc::EC_NIST_P256)), |
1350 Values(rtc::KeyParams::RSA(1024, 65537), | 1350 Values(rtc::KeyParams::RSA(1024, 65537), |
1351 rtc::KeyParams::RSA(1152, 65537), | 1351 rtc::KeyParams::RSA(1152, 65537), |
1352 rtc::KeyParams::ECDSA(rtc::EC_NIST_P256)))); | 1352 rtc::KeyParams::ECDSA(rtc::EC_NIST_P256)))); |
OLD | NEW |