e8f783ac0d
This will allow a static linker (with -ffunction-sections since things aren't split into files) to drop unused parts of DH and DSA. Notably, the parameter generation bits pull in primality-checking code. Change-Id: I25087e4cb91bc9d0ab43bcb267c2e2c164e56b59 Reviewed-on: https://boringssl-review.googlesource.com/6388 Reviewed-by: Adam Langley <agl@google.com>
22 lines
244 B
CMake
22 lines
244 B
CMake
include_directories(../../include)
|
|
|
|
add_library(
|
|
dsa
|
|
|
|
OBJECT
|
|
|
|
dsa.c
|
|
dsa_asn1.c
|
|
)
|
|
|
|
add_executable(
|
|
dsa_test
|
|
|
|
dsa_test.c
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
target_link_libraries(dsa_test crypto)
|
|
add_dependencies(all_tests dsa_test)
|