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

Unified Diff: third_party/boringssl/boringssl_unittest.cc

Issue 1128293004: Revert of Roll src/third_party/boringssl/src 68de407:de12d6c (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Thanks Rietveld, Thietveld. 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boringssl/boringssl_unittest.cc
diff --git a/third_party/boringssl/boringssl_unittest.cc b/third_party/boringssl/boringssl_unittest.cc
index 3f765bf6159c83c1509c8458bfd002610e16ab2d..52bac991f21b092662fd062e81e95c4ff96281bc 100644
--- a/third_party/boringssl/boringssl_unittest.cc
+++ b/third_party/boringssl/boringssl_unittest.cc
@@ -157,6 +157,10 @@ TEST(BoringSSL, ByteString) {
TestSimple("bytestring_test");
}
+TEST(BoringSSL, ConstantTime) {
+ TestSimple("constant_time_test");
+}
+
TEST(BoringSSL, Cipher) {
base::FilePath data_file;
ASSERT_TRUE(CryptoCipherTestPath(&data_file));
@@ -168,14 +172,6 @@ TEST(BoringSSL, Cipher) {
TestProcess("cipher_test", args);
}
-TEST(BoringSSL, CMAC) {
- TestSimple("cmac_test");
-}
-
-TEST(BoringSSL, ConstantTime) {
- TestSimple("constant_time_test");
-}
-
TEST(BoringSSL, DH) {
TestSimple("dh_test");
}
@@ -205,16 +201,7 @@ TEST(BoringSSL, GCM) {
}
TEST(BoringSSL, HMAC) {
- base::FilePath data_file;
- ASSERT_TRUE(BoringSSLPath(&data_file));
- data_file = data_file.Append(FILE_PATH_LITERAL("crypto"));
- data_file = data_file.Append(FILE_PATH_LITERAL("hmac"));
- data_file = data_file.Append(FILE_PATH_LITERAL("hmac_tests.txt"));
-
- std::vector<base::CommandLine::StringType> args;
- args.push_back(data_file.value());
-
- TestProcess("hmac_test", args);
+ TestSimple("hmac_test");
}
TEST(BoringSSL, LH) {
@@ -238,34 +225,7 @@ TEST(BoringSSL, ExampleMul) {
}
TEST(BoringSSL, EVP) {
- base::FilePath data_file;
- ASSERT_TRUE(BoringSSLPath(&data_file));
- data_file = data_file.Append(FILE_PATH_LITERAL("crypto"));
- data_file = data_file.Append(FILE_PATH_LITERAL("evp"));
- data_file = data_file.Append(FILE_PATH_LITERAL("evp_tests.txt"));
-
- std::vector<base::CommandLine::StringType> args;
- args.push_back(data_file.value());
-
- TestProcess("evp_test", args);
-}
-
-// evp_test is also run on hmac_test's input.
-TEST(BoringSSL, EVPHMAC) {
- base::FilePath data_file;
- ASSERT_TRUE(BoringSSLPath(&data_file));
- data_file = data_file.Append(FILE_PATH_LITERAL("crypto"));
- data_file = data_file.Append(FILE_PATH_LITERAL("hmac"));
- data_file = data_file.Append(FILE_PATH_LITERAL("hmac_tests.txt"));
-
- std::vector<base::CommandLine::StringType> args;
- args.push_back(data_file.value());
-
- TestProcess("evp_test", args);
-}
-
-TEST(BoringSSL, EVPExtra) {
- TestSimple("evp_extra_test");
+ TestSimple("evp_test");
}
TEST(BoringSSL, SSL) {
« 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