Home | History | Annotate | Download | only in cipher
      1 include_directories(../../include)
      2 
      3 add_library(
      4   cipher
      5 
      6   OBJECT
      7 
      8   cipher.c
      9   derive_key.c
     10   aead.c
     11 
     12   e_null.c
     13   e_rc2.c
     14   e_rc4.c
     15   e_des.c
     16   e_aes.c
     17   e_chacha20poly1305.c
     18 
     19   tls_cbc.c
     20   e_tls.c
     21   e_ssl3.c
     22 )
     23 
     24 add_executable(
     25   cipher_test
     26 
     27   cipher_test.cc
     28   $<TARGET_OBJECTS:test_support>
     29 )
     30 
     31 add_executable(
     32   aead_test
     33 
     34   aead_test.cc
     35   $<TARGET_OBJECTS:test_support>
     36 )
     37 
     38 target_link_libraries(cipher_test crypto)
     39 target_link_libraries(aead_test crypto)
     40 add_dependencies(all_tests cipher_test aead_test)
     41