f0258fe956
This imports the Google-authored P-224 implementation by Emilia Käsper and Bodo Möller that is also in upstream OpenSSL. Change-Id: I16005c74a2a3e374fb136d36f3f6569dab9d8919 Reviewed-on: https://boringssl-review.googlesource.com/6145 Reviewed-by: Adam Langley <agl@google.com>
38 lines
421 B
CMake
38 lines
421 B
CMake
include_directories(../../include)
|
|
|
|
add_library(
|
|
ec
|
|
|
|
OBJECT
|
|
|
|
ec.c
|
|
ec_asn1.c
|
|
ec_key.c
|
|
ec_montgomery.c
|
|
oct.c
|
|
p224-64.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)
|