| Index: boringssl_tests.gypi
|
| diff --git a/boringssl_tests.gypi b/boringssl_tests.gypi
|
| index 1076214f33e3c49037069fd8ba2d067f2bf4808a..36d428d024b4da348b54adea8a605cfca628ce2a 100644
|
| --- a/boringssl_tests.gypi
|
| +++ b/boringssl_tests.gypi
|
| @@ -273,13 +273,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_ecdsa_test',
|
| + 'target_name': 'boringssl_p256-x86_64_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/ecdsa/ecdsa_test.cc',
|
| + 'src/crypto/ec/p256-x86_64_test.cc',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -287,13 +287,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_err_test',
|
| + 'target_name': 'boringssl_ecdh_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/err/err_test.cc',
|
| + 'src/crypto/ecdh/ecdh_test.cc',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -301,13 +301,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_evp_extra_test',
|
| + 'target_name': 'boringssl_ecdsa_sign_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/evp/evp_extra_test.cc',
|
| + 'src/crypto/ecdsa/ecdsa_sign_test.cc',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -315,13 +315,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_evp_test',
|
| + 'target_name': 'boringssl_ecdsa_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/evp/evp_test.cc',
|
| + 'src/crypto/ecdsa/ecdsa_test.cc',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -329,13 +329,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_pbkdf_test',
|
| + 'target_name': 'boringssl_ecdsa_verify_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/evp/pbkdf_test.cc',
|
| + 'src/crypto/ecdsa/ecdsa_verify_test.cc',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -343,13 +343,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_hkdf_test',
|
| + 'target_name': 'boringssl_err_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/hkdf/hkdf_test.c',
|
| + 'src/crypto/err/err_test.cc',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -357,13 +357,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_hmac_test',
|
| + 'target_name': 'boringssl_evp_extra_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/hmac/hmac_test.cc',
|
| + 'src/crypto/evp/evp_extra_test.cc',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -371,13 +371,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_lhash_test',
|
| + 'target_name': 'boringssl_evp_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/lhash/lhash_test.c',
|
| + 'src/crypto/evp/evp_test.cc',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -385,13 +385,27 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_gcm_test',
|
| + 'target_name': 'boringssl_pbkdf_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/evp/pbkdf_test.cc',
|
| + '<@(boringssl_test_support_sources)',
|
| + ],
|
| + # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| + # https://crbug.com/429039
|
| + 'msvs_disabled_warnings': [ 4267, ],
|
| + },
|
| + {
|
| + 'target_name': 'boringssl_hkdf_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/modes/gcm_test.c',
|
| + 'src/crypto/hkdf/hkdf_test.c',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -399,13 +413,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_newhope_statistical_test',
|
| + 'target_name': 'boringssl_hmac_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/newhope/newhope_statistical_test.cc',
|
| + 'src/crypto/hmac/hmac_test.cc',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -413,13 +427,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_newhope_test',
|
| + 'target_name': 'boringssl_lhash_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/newhope/newhope_test.cc',
|
| + 'src/crypto/lhash/lhash_test.c',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -427,13 +441,13 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| - 'target_name': 'boringssl_newhope_vectors_test',
|
| + 'target_name': 'boringssl_gcm_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| 'boringssl.gyp:boringssl',
|
| ],
|
| 'sources': [
|
| - 'src/crypto/newhope/newhope_vectors_test.cc',
|
| + 'src/crypto/modes/gcm_test.cc',
|
| '<@(boringssl_test_support_sources)',
|
| ],
|
| # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| @@ -497,6 +511,20 @@
|
| 'msvs_disabled_warnings': [ 4267, ],
|
| },
|
| {
|
| + 'target_name': 'boringssl_pool_test',
|
| + 'type': 'executable',
|
| + 'dependencies': [
|
| + 'boringssl.gyp:boringssl',
|
| + ],
|
| + 'sources': [
|
| + 'src/crypto/pool/pool_test.cc',
|
| + '<@(boringssl_test_support_sources)',
|
| + ],
|
| + # TODO(davidben): Fix size_t truncations in BoringSSL.
|
| + # https://crbug.com/429039
|
| + 'msvs_disabled_warnings': [ 4267, ],
|
| + },
|
| + {
|
| 'target_name': 'boringssl_refcount_test',
|
| 'type': 'executable',
|
| 'dependencies': [
|
| @@ -614,12 +642,10 @@
|
| 'src/crypto/test/file_test.cc',
|
| 'src/crypto/test/file_test.h',
|
| 'src/crypto/test/malloc.cc',
|
| - 'src/crypto/test/scoped_types.h',
|
| 'src/crypto/test/test_util.cc',
|
| 'src/crypto/test/test_util.h',
|
| 'src/ssl/test/async_bio.h',
|
| 'src/ssl/test/packeted_bio.h',
|
| - 'src/ssl/test/scoped_types.h',
|
| 'src/ssl/test/test_config.h',
|
| ],
|
| 'boringssl_test_targets': [
|
| @@ -638,7 +664,10 @@
|
| 'boringssl_digest_test',
|
| 'boringssl_dsa_test',
|
| 'boringssl_ec_test',
|
| + 'boringssl_ecdh_test',
|
| + 'boringssl_ecdsa_sign_test',
|
| 'boringssl_ecdsa_test',
|
| + 'boringssl_ecdsa_verify_test',
|
| 'boringssl_ed25519_test',
|
| 'boringssl_err_test',
|
| 'boringssl_evp_extra_test',
|
| @@ -648,15 +677,14 @@
|
| 'boringssl_hkdf_test',
|
| 'boringssl_hmac_test',
|
| 'boringssl_lhash_test',
|
| - 'boringssl_newhope_statistical_test',
|
| - 'boringssl_newhope_test',
|
| - 'boringssl_newhope_vectors_test',
|
| 'boringssl_obj_test',
|
| + 'boringssl_p256-x86_64_test',
|
| 'boringssl_pbkdf_test',
|
| 'boringssl_pkcs12_test',
|
| 'boringssl_pkcs7_test',
|
| 'boringssl_pkcs8_test',
|
| 'boringssl_poly1305_test',
|
| + 'boringssl_pool_test',
|
| 'boringssl_refcount_test',
|
| 'boringssl_rsa_test',
|
| 'boringssl_spake25519_test',
|
|
|