2014-06-20 20:00:00 +01:00
|
|
|
include_directories(. .. ../../include)
|
|
|
|
|
|
|
|
add_library(
|
2015-01-29 00:37:10 +00:00
|
|
|
ec
|
|
|
|
|
|
|
|
OBJECT
|
|
|
|
|
|
|
|
ec.c
|
|
|
|
oct.c
|
|
|
|
simple.c
|
|
|
|
ec_montgomery.c
|
|
|
|
wnaf.c
|
|
|
|
ec_key.c
|
|
|
|
ec_asn1.c
|
|
|
|
ec_error.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
|
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-01-29 00:37:10 +00:00
|
|
|
ec_test.c
|
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)
|