2017-04-24 21:29:11 +01:00
|
|
|
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
|
2017-04-28 22:08:45 +01:00
|
|
|
cavp_test_util.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
|
|
)
|
|
|
|
|
|
|
|
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>
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(cavp_aes_test crypto)
|
|
|
|
target_link_libraries(cavp_aes_gcm_test crypto)
|
2017-04-28 22:08:45 +01:00
|
|
|
target_link_libraries(cavp_ecdsa2_pkv_test crypto)
|
2017-04-24 21:29:11 +01:00
|
|
|
endif()
|