2015-08-25 02:03:17 +01:00
|
|
|
include_directories(../../include)
|
2014-06-20 20:00:00 +01:00
|
|
|
|
|
|
|
if (${ARCH} STREQUAL "arm")
|
2015-01-29 00:37:10 +00:00
|
|
|
set(
|
|
|
|
POLY1305_ARCH_SOURCES
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2016-03-29 22:43:31 +01:00
|
|
|
poly1305_arm_asm.S
|
2015-01-29 00:37:10 +00:00
|
|
|
)
|
2014-06-20 20:00:00 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_library(
|
2015-01-29 00:37:10 +00:00
|
|
|
poly1305
|
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
|
|
|
poly1305.c
|
2016-03-29 22:43:31 +01:00
|
|
|
poly1305_arm.c
|
|
|
|
poly1305_vec.c
|
2014-06-20 20:00:00 +01:00
|
|
|
|
2015-01-29 00:37:10 +00:00
|
|
|
${POLY1305_ARCH_SOURCES}
|
2014-06-20 20:00:00 +01:00
|
|
|
)
|