2015-08-25 02:03:17 +01:00
|
|
|
include_directories(../../include)
|
2014-06-20 20:00:00 +01:00
|
|
|
|
|
|
|
add_library(
|
2015-01-29 00:37:10 +00:00
|
|
|
ec
|
|
|
|
|
|
|
|
OBJECT
|
|
|
|
|
|
|
|
ec.c
|
2015-04-14 20:07:44 +01:00
|
|
|
ec_asn1.c
|
|
|
|
ec_key.c
|
|
|
|
ec_montgomery.c
|
2015-01-29 00:37:10 +00:00
|
|
|
oct.c
|
2015-10-07 01:49:40 +01:00
|
|
|
p224-64.c
|
2015-04-14 20:07:44 +01:00
|
|
|
p256-64.c
|
|
|
|
util-64.c
|
2015-01-29 00:37:10 +00:00
|
|
|
simple.c
|
|
|
|
wnaf.c
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(
|
2015-01-29 00:37:10 +00:00
|
|
|
example_mul
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
example_mul.c
|
2015-05-16 00:08:49 +01:00
|
|
|
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
2014-11-04 01:57:47 +00:00
|
|
|
add_executable(
|
2015-01-29 00:37:10 +00:00
|
|
|
ec_test
|
2014-11-04 01:57:47 +00:00
|
|
|
|
2015-04-20 21:19:00 +01:00
|
|
|
ec_test.cc
|
2015-05-16 00:08:49 +01:00
|
|
|
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
2014-11-04 01:57:47 +00:00
|
|
|
)
|
|
|
|
|
2014-06-20 20:00:00 +01:00
|
|
|
target_link_libraries(example_mul crypto)
|
2014-11-04 01:57:47 +00:00
|
|
|
target_link_libraries(ec_test crypto)
|