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

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

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 } 149 }
150 150
151 TEST(BoringSSL, BN) { 151 TEST(BoringSSL, BN) {
152 TestSimple("bn_test"); 152 TestSimple("bn_test");
153 } 153 }
154 154
155 TEST(BoringSSL, ByteString) { 155 TEST(BoringSSL, ByteString) {
156 TestSimple("bytestring_test"); 156 TestSimple("bytestring_test");
157 } 157 }
158 158
159 TEST(BoringSSL, ConstantTime) {
160 TestSimple("constant_time_test");
161 }
162
159 TEST(BoringSSL, Cipher) { 163 TEST(BoringSSL, Cipher) {
160 base::FilePath data_file; 164 base::FilePath data_file;
161 ASSERT_TRUE(CryptoCipherPath(&data_file)); 165 ASSERT_TRUE(CryptoCipherPath(&data_file));
162 data_file = data_file.Append(FILE_PATH_LITERAL("cipher_test.txt")); 166 data_file = data_file.Append(FILE_PATH_LITERAL("cipher_test.txt"));
163 167
164 std::vector<base::CommandLine::StringType> args; 168 std::vector<base::CommandLine::StringType> args;
165 args.push_back(data_file.value()); 169 args.push_back(data_file.value());
166 170
167 TestProcess("cipher_test", args); 171 TestProcess("cipher_test", args);
168 } 172 }
169 173
170 TEST(BoringSSL, DH) { 174 TEST(BoringSSL, DH) {
171 TestSimple("dh_test"); 175 TestSimple("dh_test");
172 } 176 }
173 177
178 TEST(BoringSSL, Digest) {
179 TestSimple("digest_test");
180 }
181
174 TEST(BoringSSL, DSA) { 182 TEST(BoringSSL, DSA) {
175 TestSimple("dsa_test"); 183 TestSimple("dsa_test");
176 } 184 }
177 185
186 TEST(BoringSSL, EC) {
187 TestSimple("ec_test");
188 }
189
178 TEST(BoringSSL, ECDSA) { 190 TEST(BoringSSL, ECDSA) {
179 TestSimple("ecdsa_test"); 191 TestSimple("ecdsa_test");
180 } 192 }
181 193
182 TEST(BoringSSL, ERR) { 194 TEST(BoringSSL, ERR) {
183 TestSimple("err_test"); 195 TestSimple("err_test");
184 } 196 }
185 197
186 TEST(BoringSSL, GCM) { 198 TEST(BoringSSL, GCM) {
187 TestSimple("gcm_test"); 199 TestSimple("gcm_test");
188 } 200 }
189 201
190 TEST(BoringSSL, HMAC) { 202 TEST(BoringSSL, HMAC) {
191 TestSimple("hmac_test"); 203 TestSimple("hmac_test");
192 } 204 }
193 205
194 TEST(BoringSSL, LH) { 206 TEST(BoringSSL, LH) {
195 TestSimple("lhash_test"); 207 TestSimple("lhash_test");
196 } 208 }
197 209
198 TEST(BoringSSL, MD5) {
199 TestSimple("md5_test");
200 }
201
202 TEST(BoringSSL, RSA) { 210 TEST(BoringSSL, RSA) {
203 TestSimple("rsa_test"); 211 TestSimple("rsa_test");
204 } 212 }
205 213
206 TEST(BoringSSL, SHA1) {
207 TestSimple("sha1_test");
208 }
209
210 TEST(BoringSSL, PKCS7) { 214 TEST(BoringSSL, PKCS7) {
211 TestSimple("pkcs7_test"); 215 TestSimple("pkcs7_test");
212 } 216 }
213 217
214 TEST(BoringSSL, PKCS12) { 218 TEST(BoringSSL, PKCS12) {
215 TestSimple("pkcs12_test"); 219 TestSimple("pkcs12_test");
216 } 220 }
217 221
218 TEST(BoringSSL, ExampleMul) { 222 TEST(BoringSSL, ExampleMul) {
219 TestSimple("example_mul"); 223 TestSimple("example_mul");
220 } 224 }
221 225
222 TEST(BoringSSL, EVP) { 226 TEST(BoringSSL, EVP) {
223 TestSimple("evp_test"); 227 TestSimple("evp_test");
224 } 228 }
225 229
226 TEST(BoringSSL, SSL) { 230 TEST(BoringSSL, SSL) {
227 TestSimple("ssl_test"); 231 TestSimple("ssl_test");
228 } 232 }
229 233
230 TEST(BoringSSL, PQueue) { 234 TEST(BoringSSL, PQueue) {
231 TestSimple("pqueue_test"); 235 TestSimple("pqueue_test");
232 } 236 }
OLDNEW
« no previous file with comments | « third_party/boringssl/boringssl_tests.gypi ('k') | third_party/boringssl/win-x86_64/crypto/aes/aesni-x86_64.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698