boringssl/crypto/ecdsa/CMakeLists.txt
David Benjamin 449c381971 Import NIST ECDSA verification tests.
Change-Id: Idaec86866c600b87cda662b1b31c864cb1d141ac
Reviewed-on: https://boringssl-review.googlesource.com/10702
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2016-08-30 16:02:11 +00:00

41 lines
578 B
CMake

include_directories(../../include)
add_library(
ecdsa
OBJECT
ecdsa.c
ecdsa_asn1.c
)
add_executable(
ecdsa_test
ecdsa_test.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
ecdsa_sign_test
ecdsa_sign_test.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
ecdsa_verify_test
ecdsa_verify_test.cc
$<TARGET_OBJECTS:test_support>
)
target_link_libraries(ecdsa_test crypto)
target_link_libraries(ecdsa_sign_test crypto)
target_link_libraries(ecdsa_verify_test crypto)
add_dependencies(all_tests ecdsa_test ecdsa_sign_test ecdsa_verify_test)