2015-08-25 02:03:17 +01:00
|
|
|
include_directories(../../include)
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2017-01-19 23:12:44 +00:00
|
|
|
if (${ARCH} STREQUAL "x86_64")
|
|
|
|
set(
|
|
|
|
CIPHER_ARCH_SOURCES
|
|
|
|
|
2017-04-29 23:50:26 +01:00
|
|
|
aes128gcmsiv-x86_64.${ASM_EXT}
|
2017-01-19 23:12:44 +00:00
|
|
|
chacha20_poly1305_x86_64.${ASM_EXT}
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2014-06-20 20:00:00 +01:00
|
|
|
add_library(
|
2017-05-03 21:23:37 +01:00
|
|
|
cipher_extra
|
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
|
|
|
|
2017-05-03 21:23:37 +01:00
|
|
|
cipher_extra.c
|
2015-01-29 00:37:10 +00:00
|
|
|
derive_key.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
|
2017-04-07 19:46:13 +01:00
|
|
|
e_aesgcmsiv.c
|
|
|
|
e_aesctrhmac.c
|
2018-02-13 18:39:42 +00:00
|
|
|
e_aesccm.c
|
2015-01-29 00:37:10 +00:00
|
|
|
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
|
2017-01-19 23:12:44 +00:00
|
|
|
|
|
|
|
${CIPHER_ARCH_SOURCES}
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|
|
|
|
|
2017-04-29 23:50:26 +01:00
|
|
|
perlasm(aes128gcmsiv-x86_64.${ASM_EXT} asm/aes128gcmsiv-x86_64.pl)
|
2017-01-19 23:12:44 +00:00
|
|
|
perlasm(chacha20_poly1305_x86_64.${ASM_EXT} asm/chacha20_poly1305_x86_64.pl)
|