8f160a680b
Factor the AlgorithmIdentifier portions of ASN1_item_sign and ASN1_item_verify out. This makes it possible to initialize a signature context from an AlgorithmIdentifier without needing the data parsed into an ASN1_ITEM/void* pair and reserialized. Change-Id: Idc2e06b1310a3f801aa25de323d39d2b7a44ef50 Reviewed-on: https://boringssl-review.googlesource.com/1916 Reviewed-by: Adam Langley <agl@google.com>
32 lines
318 B
CMake
32 lines
318 B
CMake
include_directories(. .. ../../include)
|
|
|
|
add_library(
|
|
evp
|
|
|
|
OBJECT
|
|
|
|
algorithm.c
|
|
asn1.c
|
|
digestsign.c
|
|
evp.c
|
|
evp_ctx.c
|
|
evp_error.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(
|
|
example_sign
|
|
|
|
example_sign.c
|
|
)
|
|
|
|
target_link_libraries(example_sign crypto)
|