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.
 
 
 
 
 
 

32 regels
421 B

  1. include_directories(../../include)
  2. if (${ARCH} STREQUAL "arm")
  3. set(
  4. POLY1305_ARCH_SOURCES
  5. poly1305_arm_asm.S
  6. )
  7. endif()
  8. add_library(
  9. poly1305
  10. OBJECT
  11. poly1305.c
  12. poly1305_arm.c
  13. poly1305_vec.c
  14. ${POLY1305_ARCH_SOURCES}
  15. )
  16. add_executable(
  17. poly1305_test
  18. poly1305_test.cc
  19. $<TARGET_OBJECTS:test_support>
  20. )
  21. target_link_libraries(poly1305_test crypto)
  22. add_dependencies(all_tests poly1305_test)