boringssl/fipsoracle/CMakeLists.txt
Steven Valdez 9b7228c544 Adding RSA2 KeyGen CAVP tests.
Change-Id: I11eecf6dc50b95477fc1e909d9ed97987899abcb
Reviewed-on: https://boringssl-review.googlesource.com/15833
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-05-03 17:35:45 +00:00

132 lines
2.6 KiB
CMake

include_directories(../include)
if (FIPS)
add_executable(
cavp_aes_test
cavp_aes_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_aes_gcm_test
cavp_aes_gcm_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_ecdsa2_keypair_test
cavp_ecdsa2_keypair_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_ecdsa2_pkv_test
cavp_ecdsa2_pkv_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_ecdsa2_siggen_test
cavp_ecdsa2_siggen_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_ecdsa2_sigver_test
cavp_ecdsa2_sigver_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_rsa2_keygen_test
cavp_rsa2_keygen_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_rsa2_siggen_test
cavp_rsa2_siggen_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_rsa2_sigver_test
cavp_rsa2_sigver_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_hmac_test
cavp_hmac_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_tdes_test
cavp_tdes_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_sha_test
cavp_sha_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_sha_monte_test
cavp_sha_monte_test.cc
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_ctr_drbg_test
cavp_ctr_drbg_test.cc
cavp_test_util.h
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
target_link_libraries(cavp_aes_test crypto)
target_link_libraries(cavp_aes_gcm_test crypto)
target_link_libraries(cavp_ctr_drbg_test crypto)
target_link_libraries(cavp_ecdsa2_keypair_test crypto)
target_link_libraries(cavp_ecdsa2_pkv_test crypto)
target_link_libraries(cavp_ecdsa2_siggen_test crypto)
target_link_libraries(cavp_ecdsa2_sigver_test crypto)
target_link_libraries(cavp_rsa2_keygen_test crypto)
target_link_libraries(cavp_rsa2_siggen_test crypto)
target_link_libraries(cavp_rsa2_sigver_test crypto)
target_link_libraries(cavp_hmac_test crypto)
target_link_libraries(cavp_sha_test crypto)
target_link_libraries(cavp_sha_monte_test crypto)
target_link_libraries(cavp_tdes_test crypto)
endif()