2014-06-20 20:00:00 +01:00
|
|
|
include_directories(. .. ../../include)
|
|
|
|
|
|
|
|
add_library(
|
2015-01-29 00:37:10 +00:00
|
|
|
cipher
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
OBJECT
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
cipher.c
|
|
|
|
derive_key.c
|
|
|
|
aead.c
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
e_null.c
|
|
|
|
e_rc2.c
|
|
|
|
e_rc4.c
|
|
|
|
e_des.c
|
|
|
|
e_aes.c
|
|
|
|
e_chacha20poly1305.c
|
2014-12-20 16:13:41 +00:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
tls_cbc.c
|
|
|
|
e_tls.c
|
|
|
|
e_ssl3.c
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(
|
2015-01-29 00:37:10 +00:00
|
|
|
cipher_test
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
cipher_test.c
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
2014-06-20 20:00:00 +01:00
|
|
|
add_executable(
|
2015-01-29 00:37:10 +00:00
|
|
|
aead_test
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
aead_test.c
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
2014-06-20 20:00:00 +01:00
|
|
|
target_link_libraries(cipher_test crypto)
|
2014-06-20 20:00:00 +01:00
|
|
|
target_link_libraries(aead_test crypto)
|