e80c7c065c
This change adds support for two specific CAVP tests, in order to meet NIAP requirements. These tests are currently only run when “-niap” is passed to run_cavp.go because they are not part of our FIPS validation (yet). Change-Id: I511279651aae094702332130fac5ab64d11ddfdb Reviewed-on: https://boringssl-review.googlesource.com/24665 Reviewed-by: Adam Langley <agl@google.com>
41 lines
748 B
CMake
41 lines
748 B
CMake
include_directories(../include)
|
|
|
|
if (FIPS)
|
|
add_executable(
|
|
cavp
|
|
|
|
cavp_main.cc
|
|
|
|
cavp_aes_gcm_test.cc
|
|
cavp_aes_test.cc
|
|
cavp_ctr_drbg_test.cc
|
|
cavp_ecdsa2_keypair_test.cc
|
|
cavp_ecdsa2_pkv_test.cc
|
|
cavp_ecdsa2_siggen_test.cc
|
|
cavp_ecdsa2_sigver_test.cc
|
|
cavp_hmac_test.cc
|
|
cavp_kas_test.cc
|
|
cavp_keywrap_test.cc
|
|
cavp_rsa2_keygen_test.cc
|
|
cavp_rsa2_siggen_test.cc
|
|
cavp_rsa2_sigver_test.cc
|
|
cavp_sha_monte_test.cc
|
|
cavp_sha_test.cc
|
|
cavp_tdes_test.cc
|
|
|
|
cavp_test_util.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
add_executable(
|
|
test_fips
|
|
|
|
test_fips.c
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
target_link_libraries(cavp crypto)
|
|
target_link_libraries(test_fips crypto)
|
|
endif()
|