You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
566 B

  1. include_directories(../../include)
  2. if (${ARCH} STREQUAL "x86_64")
  3. set(
  4. CIPHER_ARCH_SOURCES
  5. aes128gcmsiv-x86_64.${ASM_EXT}
  6. chacha20_poly1305_x86_64.${ASM_EXT}
  7. )
  8. endif()
  9. add_library(
  10. cipher_extra
  11. OBJECT
  12. cipher_extra.c
  13. derive_key.c
  14. e_null.c
  15. e_rc2.c
  16. e_rc4.c
  17. e_aesgcmsiv.c
  18. e_aesctrhmac.c
  19. e_aesccm.c
  20. e_chacha20poly1305.c
  21. tls_cbc.c
  22. e_tls.c
  23. e_ssl3.c
  24. ${CIPHER_ARCH_SOURCES}
  25. )
  26. perlasm(aes128gcmsiv-x86_64.${ASM_EXT} asm/aes128gcmsiv-x86_64.pl)
  27. perlasm(chacha20_poly1305_x86_64.${ASM_EXT} asm/chacha20_poly1305_x86_64.pl)