boringssl/fipsoracle/CMakeLists.txt
David Benjamin 9abf84cc82 Add tool for ECDSA2 SigGen and SigGenComponent tests.
Change-Id: I31f6d463bd924e6766c5d8dd83da693d6d44555a
Reviewed-on: https://boringssl-review.googlesource.com/15671
Reviewed-by: Adam Langley <agl@google.com>
2017-05-01 18:07:19 +00:00

83 lines
1.5 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_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_sha_test
cavp_sha_test.cc
cavp_test_util.h
cavp_test_util.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
cavp_sha_monte_test
cavp_sha_monte_test.cc
cavp_test_util.h
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_ecdsa2_pkv_test crypto)
target_link_libraries(cavp_ecdsa2_siggen_test crypto)
target_link_libraries(cavp_ecdsa2_sigver_test crypto)
target_link_libraries(cavp_sha_test crypto)
target_link_libraries(cavp_sha_monte_test crypto)
target_link_libraries(cavp_ctr_drbg_test crypto)
endif()