boringssl/crypto/ec/CMakeLists.txt
Adam Langley 9f5a314d35 Automatically generate a missing EC public key.
When d2i_ECPrivateKey reads a private key with a missing (optional)
public key, generate one automatically from the group and private key.

(Imported from upstream's 2083f7c465d07867dd9867b8742bb71c03d1f203)

Change-Id: I9e5090de87cf846ab92e4be5b6bf64e6091d02e4
2014-11-10 13:45:31 -08:00

32 lines
320 B
CMake

include_directories(. .. ../../include)
add_library(
ec
OBJECT
ec.c
oct.c
simple.c
ec_montgomery.c
wnaf.c
ec_key.c
ec_asn1.c
ec_error.c
)
add_executable(
example_mul
example_mul.c
)
add_executable(
ec_test
ec_test.c
)
target_link_libraries(example_mul crypto)
target_link_libraries(ec_test crypto)