summaryrefslogtreecommitdiffstats
path: root/src/crypto/poly1305/CMakeLists.txt
blob: bb0c1e4442a7e499266e38134eafcebd6589e706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include_directories(. .. ../../include)

if (${ARCH} STREQUAL "arm")
  set(
    POLY1305_ARCH_SOURCES

    poly1305_arm_asm.S
  )
endif()

add_library(
  poly1305

  OBJECT

  poly1305.c
  poly1305_arm.c
  poly1305_vec.c

  ${POLY1305_ARCH_SOURCES}
)