Pete Bentley | 0c61efe | 2019-08-13 09:32:23 +0100 | [diff] [blame^] | 1 | include_directories(../../../include) |
Robert Sloan | 8ff0355 | 2017-06-14 12:40:58 -0700 | [diff] [blame] | 2 | |
Robert Sloan | d9e572d | 2018-08-27 12:27:00 -0700 | [diff] [blame] | 3 | if(FIPS) |
Robert Sloan | 8ff0355 | 2017-06-14 12:40:58 -0700 | [diff] [blame] | 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 |
Robert Sloan | 0db7f54 | 2018-01-16 15:48:33 -0800 | [diff] [blame] | 17 | cavp_kas_test.cc |
Robert Sloan | 8ff0355 | 2017-06-14 12:40:58 -0700 | [diff] [blame] | 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 |
Robert Sloan | 0db7f54 | 2018-01-16 15:48:33 -0800 | [diff] [blame] | 25 | cavp_tlskdf_test.cc |
Robert Sloan | 8ff0355 | 2017-06-14 12:40:58 -0700 | [diff] [blame] | 26 | |
| 27 | cavp_test_util.cc |
Robert Sloan | 8ff0355 | 2017-06-14 12:40:58 -0700 | [diff] [blame] | 28 | ) |
| 29 | |
Robert Sloan | 726e9d1 | 2018-09-11 11:45:04 -0700 | [diff] [blame] | 30 | add_dependencies(cavp global_target) |
| 31 | |
Robert Sloan | 8ff0355 | 2017-06-14 12:40:58 -0700 | [diff] [blame] | 32 | add_executable( |
| 33 | test_fips |
| 34 | |
| 35 | test_fips.c |
Robert Sloan | 8ff0355 | 2017-06-14 12:40:58 -0700 | [diff] [blame] | 36 | ) |
| 37 | |
Robert Sloan | 726e9d1 | 2018-09-11 11:45:04 -0700 | [diff] [blame] | 38 | add_dependencies(test_fips global_target) |
| 39 | |
Robert Sloan | 4c22c5f | 2019-03-01 15:53:37 -0800 | [diff] [blame] | 40 | target_link_libraries(cavp test_support_lib crypto) |
| 41 | target_link_libraries(test_fips test_support_lib crypto) |
Robert Sloan | 8ff0355 | 2017-06-14 12:40:58 -0700 | [diff] [blame] | 42 | endif() |