044abb0aaa
This introduces another knob into SSL_AEAD_CTX to omit the version from the ad parameter. It also allows us to fold a few more SSL3_ENC_METHOD hooks together. Change-Id: I6540d410d4722f734093554fb434dab6e5217d4f Reviewed-on: https://boringssl-review.googlesource.com/2698 Reviewed-by: Adam Langley <agl@google.com>
39 lines
397 B
CMake
39 lines
397 B
CMake
include_directories(. .. ../../include)
|
|
|
|
add_library(
|
|
cipher
|
|
|
|
OBJECT
|
|
|
|
cipher.c
|
|
cipher_error.c
|
|
derive_key.c
|
|
aead.c
|
|
|
|
e_null.c
|
|
e_rc2.c
|
|
e_rc4.c
|
|
e_des.c
|
|
e_aes.c
|
|
e_chacha20poly1305.c
|
|
|
|
tls_cbc.c
|
|
e_tls.c
|
|
e_ssl3.c
|
|
)
|
|
|
|
add_executable(
|
|
cipher_test
|
|
|
|
cipher_test.c
|
|
)
|
|
|
|
add_executable(
|
|
aead_test
|
|
|
|
aead_test.c
|
|
)
|
|
|
|
target_link_libraries(cipher_test crypto)
|
|
target_link_libraries(aead_test crypto)
|