5c694e3fef
This imports the EVP_PKEY test data of upstream's evptests.txt, but modified to fit our test framework and with a new test driver. The remainder of the test data will be imported separately into aead_test and cipher_test. Some minor changes to the test format were made to account for test framework differences. One test has different results since we don't support RSA signatures with omitted (rather than NULL) parameters. Otherwise, the biggest difference in test format is that the ad-hoc result strings are replaced with checking ERR_peek_error. Change-Id: I758869abbeb843f5f2ac6c1cbd87333baec08ec3 Reviewed-on: https://boringssl-review.googlesource.com/4703 Reviewed-by: Adam Langley <agl@google.com>
47 lines
551 B
CMake
47 lines
551 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_extra_test
|
|
|
|
evp_extra_test.cc
|
|
)
|
|
|
|
add_executable(
|
|
evp_test
|
|
|
|
evp_test.cc
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
add_executable(
|
|
pbkdf_test
|
|
|
|
pbkdf_test.cc
|
|
)
|
|
|
|
target_link_libraries(evp_extra_test crypto)
|
|
target_link_libraries(evp_test crypto)
|
|
target_link_libraries(pbkdf_test crypto)
|