1include_directories(../include) 2 3if(FIPS) 4 add_executable( 5 cavp 6 7 cavp_main.cc 8 9 cavp_aes_gcm_test.cc 10 cavp_aes_test.cc 11 cavp_ctr_drbg_test.cc 12 cavp_ecdsa2_keypair_test.cc 13 cavp_ecdsa2_pkv_test.cc 14 cavp_ecdsa2_siggen_test.cc 15 cavp_ecdsa2_sigver_test.cc 16 cavp_hmac_test.cc 17 cavp_kas_test.cc 18 cavp_keywrap_test.cc 19 cavp_rsa2_keygen_test.cc 20 cavp_rsa2_siggen_test.cc 21 cavp_rsa2_sigver_test.cc 22 cavp_sha_monte_test.cc 23 cavp_sha_test.cc 24 cavp_tdes_test.cc 25 cavp_tlskdf_test.cc 26 27 cavp_test_util.cc 28 ) 29 30 add_dependencies(cavp global_target) 31 32 add_executable( 33 test_fips 34 35 test_fips.c 36 ) 37 38 add_dependencies(test_fips global_target) 39 40 target_link_libraries(cavp test_support_lib crypto) 41 target_link_libraries(test_fips test_support_lib crypto) 42endif() 43