Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1823)

Side by Side Diff: third_party/boringssl/boringssl_unittest.cc

Issue 1131163003: Revert "Roll src/third_party/boringssl/src 68de407:65a7e94" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/boringssl/boringssl_tests.gypi ('k') | third_party/boringssl/err_data.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stdarg.h> 5 #include <stdarg.h>
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 150 }
151 151
152 TEST(BoringSSL, BN) { 152 TEST(BoringSSL, BN) {
153 TestSimple("bn_test"); 153 TestSimple("bn_test");
154 } 154 }
155 155
156 TEST(BoringSSL, ByteString) { 156 TEST(BoringSSL, ByteString) {
157 TestSimple("bytestring_test"); 157 TestSimple("bytestring_test");
158 } 158 }
159 159
160 TEST(BoringSSL, ConstantTime) {
161 TestSimple("constant_time_test");
162 }
163
160 TEST(BoringSSL, Cipher) { 164 TEST(BoringSSL, Cipher) {
161 base::FilePath data_file; 165 base::FilePath data_file;
162 ASSERT_TRUE(CryptoCipherTestPath(&data_file)); 166 ASSERT_TRUE(CryptoCipherTestPath(&data_file));
163 data_file = data_file.Append(FILE_PATH_LITERAL("cipher_test.txt")); 167 data_file = data_file.Append(FILE_PATH_LITERAL("cipher_test.txt"));
164 168
165 std::vector<base::CommandLine::StringType> args; 169 std::vector<base::CommandLine::StringType> args;
166 args.push_back(data_file.value()); 170 args.push_back(data_file.value());
167 171
168 TestProcess("cipher_test", args); 172 TestProcess("cipher_test", args);
169 } 173 }
170 174
171 TEST(BoringSSL, CMAC) {
172 TestSimple("cmac_test");
173 }
174
175 TEST(BoringSSL, ConstantTime) {
176 TestSimple("constant_time_test");
177 }
178
179 TEST(BoringSSL, DH) { 175 TEST(BoringSSL, DH) {
180 TestSimple("dh_test"); 176 TestSimple("dh_test");
181 } 177 }
182 178
183 TEST(BoringSSL, Digest) { 179 TEST(BoringSSL, Digest) {
184 TestSimple("digest_test"); 180 TestSimple("digest_test");
185 } 181 }
186 182
187 TEST(BoringSSL, DSA) { 183 TEST(BoringSSL, DSA) {
188 TestSimple("dsa_test"); 184 TestSimple("dsa_test");
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 TestSimple("hkdf_test"); 240 TestSimple("hkdf_test");
245 } 241 }
246 242
247 TEST(BoringSSL, PBKDF) { 243 TEST(BoringSSL, PBKDF) {
248 TestSimple("pbkdf_test"); 244 TestSimple("pbkdf_test");
249 } 245 }
250 246
251 TEST(BoringSSL, Thread) { 247 TEST(BoringSSL, Thread) {
252 TestSimple("thread_test"); 248 TestSimple("thread_test");
253 } 249 }
OLDNEW
« no previous file with comments | « third_party/boringssl/boringssl_tests.gypi ('k') | third_party/boringssl/err_data.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698