boringssl/crypto/bytestring/CMakeLists.txt
Adam Langley 9c01e00c2e Rework support for ASN.1 BER.
Previously, the ASN.1 functions in bytestring were capable of processing
indefinite length elements when the _ber functions were used. That works
well enough for PKCS#3, but NSS goes a bit crazy with BER encoding and
PKCS#12. Rather than complicate the core bytestring functions further,
the BER support is removed from them and moved to a separate function
that converts from BER to DER (if needed).

Change-Id: I2212b28e99bab9fab8c61f80d2012d3e5a3cc2f0
Reviewed-on: https://boringssl-review.googlesource.com/1591
Reviewed-by: Adam Langley <agl@google.com>
2014-08-25 21:38:08 +00:00

20 lines
202 B
CMake

include_directories(. .. ../../include)
add_library(
bytestring
OBJECT
ber.c
cbs.c
cbb.c
)
add_executable(
bytestring_test
bytestring_test.c
)
target_link_libraries(bytestring_test crypto)