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

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

    chacha_vec_arm.S
  )
endif()

add_library(
  chacha

  OBJECT

  chacha_generic.c
  chacha_vec.c

  ${CHACHA_ARCH_SOURCES}
)