2017-04-29 00:45:49 +01:00
|
|
|
include_directories(../include)
|
2017-04-24 21:29:11 +01:00
|
|
|
|
|
|
|
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
|
2017-04-28 22:08:45 +01:00
|
|
|
cavp_test_util.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
|
|
)
|
|
|
|
|
2017-05-01 19:56:22 +01:00
|
|
|
add_executable(
|
|
|
|
cavp_ecdsa2_keypair_test
|
|
|
|
|
|
|
|
cavp_ecdsa2_keypair_test.cc
|
|
|
|
cavp_test_util.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
|
|
)
|
|
|
|
|
2017-04-28 22:08:45 +01:00
|
|
|
add_executable(
|
|
|
|
cavp_ecdsa2_pkv_test
|
|
|
|
|
|
|
|
cavp_ecdsa2_pkv_test.cc
|
2017-04-24 21:29:11 +01:00
|
|
|
cavp_test_util.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
|
|
)
|
|
|
|
|
2017-04-30 19:37:16 +01:00
|
|
|
add_executable(
|
|
|
|
cavp_ecdsa2_siggen_test
|
|
|
|
|
|
|
|
cavp_ecdsa2_siggen_test.cc
|
|
|
|
cavp_test_util.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
|
|
)
|
|
|
|
|
2017-04-28 22:41:28 +01:00
|
|
|
add_executable(
|
|
|
|
cavp_ecdsa2_sigver_test
|
|
|
|
|
|
|
|
cavp_ecdsa2_sigver_test.cc
|
|
|
|
cavp_test_util.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
|
|
)
|
|
|
|
|
2017-04-28 21:17:54 +01:00
|
|
|
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>
|
|
|
|
)
|
|
|
|
|
2017-05-01 18:54:03 +01:00
|
|
|
add_executable(
|
|
|
|
cavp_ctr_drbg_test
|
|
|
|
|
|
|
|
cavp_ctr_drbg_test.cc
|
|
|
|
cavp_test_util.h
|
|
|
|
cavp_test_util.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
|
|
)
|
|
|
|
|
2017-04-24 21:29:11 +01:00
|
|
|
target_link_libraries(cavp_aes_test crypto)
|
|
|
|
target_link_libraries(cavp_aes_gcm_test crypto)
|
2017-04-28 21:17:54 +01:00
|
|
|
|
2017-05-01 19:56:22 +01:00
|
|
|
target_link_libraries(cavp_ecdsa2_keypair_test crypto)
|
2017-04-28 22:08:45 +01:00
|
|
|
target_link_libraries(cavp_ecdsa2_pkv_test crypto)
|
2017-04-30 19:37:16 +01:00
|
|
|
target_link_libraries(cavp_ecdsa2_siggen_test crypto)
|
2017-04-28 22:41:28 +01:00
|
|
|
target_link_libraries(cavp_ecdsa2_sigver_test crypto)
|
2017-04-28 21:17:54 +01:00
|
|
|
|
|
|
|
target_link_libraries(cavp_sha_test crypto)
|
|
|
|
target_link_libraries(cavp_sha_monte_test crypto)
|
2017-05-01 18:54:03 +01:00
|
|
|
|
|
|
|
target_link_libraries(cavp_ctr_drbg_test crypto)
|
2017-04-24 21:29:11 +01:00
|
|
|
endif()
|