blob: b5ebefae464c10194c7d30b01a6b639ae3c7e9a0 [file] [log] [blame]
include_directories(. .. ../../include)
add_library(
ec
OBJECT
ec.c
ec_asn1.c
ec_key.c
ec_montgomery.c
oct.c
p256-64.c
util-64.c
simple.c
wnaf.c
)
add_executable(
example_mul
example_mul.c
$<TARGET_OBJECTS:test_support>
)
add_executable(
ec_test
ec_test.cc
$<TARGET_OBJECTS:test_support>
)
target_link_libraries(example_mul crypto)
target_link_libraries(ec_test crypto)