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

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

Issue 1459783002: Roll src/third_party/boringssl/src d7421ebf6..3ac32b1ed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build, estark comments Created 5 years, 1 month 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
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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 } 193 }
194 194
195 TEST(BoringSSL, EC) { 195 TEST(BoringSSL, EC) {
196 TestSimple("ec_test"); 196 TestSimple("ec_test");
197 } 197 }
198 198
199 TEST(BoringSSL, ECDSA) { 199 TEST(BoringSSL, ECDSA) {
200 TestSimple("ecdsa_test"); 200 TestSimple("ecdsa_test");
201 } 201 }
202 202
203 TEST(BoringSSL, ED25519) {
204 base::FilePath data_file;
205 ASSERT_TRUE(BoringSSLPath(&data_file));
206 data_file = data_file.Append(FILE_PATH_LITERAL("crypto"));
207 data_file = data_file.Append(FILE_PATH_LITERAL("curve25519"));
208 data_file = data_file.Append(FILE_PATH_LITERAL("ed25519_tests.txt"));
209
210 std::vector<base::CommandLine::StringType> args;
211 args.push_back(data_file.value());
212
213 TestProcess("ed25519_test", args);
214 }
215
203 TEST(BoringSSL, ERR) { 216 TEST(BoringSSL, ERR) {
204 TestSimple("err_test"); 217 TestSimple("err_test");
205 } 218 }
206 219
207 TEST(BoringSSL, EVP) { 220 TEST(BoringSSL, EVP) {
208 base::FilePath data_file; 221 base::FilePath data_file;
209 ASSERT_TRUE(BoringSSLPath(&data_file)); 222 ASSERT_TRUE(BoringSSLPath(&data_file));
210 data_file = data_file.Append(FILE_PATH_LITERAL("crypto")); 223 data_file = data_file.Append(FILE_PATH_LITERAL("crypto"));
211 data_file = data_file.Append(FILE_PATH_LITERAL("evp")); 224 data_file = data_file.Append(FILE_PATH_LITERAL("evp"));
212 data_file = data_file.Append(FILE_PATH_LITERAL("evp_tests.txt")); 225 data_file = data_file.Append(FILE_PATH_LITERAL("evp_tests.txt"));
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 TestSimple("tab_test"); 312 TestSimple("tab_test");
300 } 313 }
301 314
302 TEST(BoringSSL, Thread) { 315 TEST(BoringSSL, Thread) {
303 TestSimple("thread_test"); 316 TestSimple("thread_test");
304 } 317 }
305 318
306 TEST(BoringSSL, V3NameTest) { 319 TEST(BoringSSL, V3NameTest) {
307 TestSimple("v3name_test"); 320 TestSimple("v3name_test");
308 } 321 }
322
323 TEST(BoringSSL, X25519) {
324 TestSimple("x25519_test");
325 }
OLDNEW
« no previous file with comments | « third_party/boringssl/boringssl_tests.gypi ('k') | third_party/boringssl/linux-arm/crypto/modes/ghash-armv4.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698