summaryrefslogtreecommitdiffstats
path: root/src/crypto/chacha/CMakeLists.txt
blob: 266e8699ac11384a7a76fd002508e77d2fbc1793 (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}
)