boringssl/crypto/pkcs8/CMakeLists.txt
David Benjamin 1fc7564ba7 Add standalone PKCS#8 and SPKI fuzzers.
We already had coverage for our new EVP_PKEY parsers, but it's good to have
some that cover them directly. The initial corpus was generated manually with
der-ascii and should cover most of the insanity around EC key serialization.

BUG=15

Change-Id: I7aaf56876680bfd5a89f5e365c5052eee03ba862
Reviewed-on: https://boringssl-review.googlesource.com/7728
Reviewed-by: Adam Langley <agl@google.com>
2016-04-25 21:57:28 +00:00

31 lines
389 B
CMake

include_directories(../../include)
add_library(
pkcs8_lib
OBJECT
pkcs8.c
p8_pkey.c
p5_pbe.c
p5_pbev2.c
)
add_executable(
pkcs12_test
pkcs12_test.cc
$<TARGET_OBJECTS:test_support>
)
add_executable(
pkcs8_test
pkcs8_test.cc
)
target_link_libraries(pkcs8_test crypto)
target_link_libraries(pkcs12_test crypto)
add_dependencies(all_tests pkcs8_test pkcs12_test)