7c12587994
This CL adds utility code to process NIST CAVP test vectors using the existing FileTest code. Also add binaries for processing AESAVS (AES) and GCMVS (AES-GCM) vector files. Change-Id: I8e5ebf751d7d4b5504bbb52f3e087b0065babbe0 Reviewed-on: https://boringssl-review.googlesource.com/15484 Reviewed-by: Adam Langley <agl@google.com>
25 lines
440 B
CMake
25 lines
440 B
CMake
include_directories(../../include)
|
|
|
|
if (FIPS)
|
|
add_executable(
|
|
cavp_aes_test
|
|
|
|
cavp_aes_test.cc
|
|
cavp_test_util.h
|
|
cavp_test_util.cc
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
add_executable(
|
|
cavp_aes_gcm_test
|
|
|
|
cavp_aes_gcm_test.cc
|
|
cavp_test_util.h
|
|
cavp_test_util.cc
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
target_link_libraries(cavp_aes_test crypto)
|
|
target_link_libraries(cavp_aes_gcm_test crypto)
|
|
endif()
|