765b66cf04
Sadly, it turns out that we have need of this, at least for now. The code is taken from upstream and changed only as much as needed. This only imports keys and doesn't know how to actually perform operations on them for now. Change-Id: I0db70fb938186cb7a91d03f068b386c59ed90b84
39 lines
416 B
CMake
39 lines
416 B
CMake
include_directories(. .. ../../include)
|
|
|
|
add_library(
|
|
evp
|
|
|
|
OBJECT
|
|
|
|
algorithm.c
|
|
asn1.c
|
|
digestsign.c
|
|
evp.c
|
|
evp_ctx.c
|
|
p_dsa_asn1.c
|
|
p_ec.c
|
|
p_ec_asn1.c
|
|
p_hmac.c
|
|
p_hmac_asn1.c
|
|
p_rsa.c
|
|
p_rsa_asn1.c
|
|
pbkdf.c
|
|
sign.c
|
|
)
|
|
|
|
|
|
add_executable(
|
|
evp_test
|
|
|
|
evp_test.cc
|
|
)
|
|
|
|
add_executable(
|
|
pbkdf_test
|
|
|
|
pbkdf_test.cc
|
|
)
|
|
|
|
target_link_libraries(evp_test crypto)
|
|
target_link_libraries(pbkdf_test crypto)
|