summaryrefslogtreecommitdiffstats
path: root/src/crypto/mac/ghash/CMakeLists.txt
blob: 7d697e8d5e9e3273afe8f57872907135429b689c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set(IMPLS "")

if(WITH_MAC_GHASH_BUILTIN)
  list(APPEND IMPLS builtin)
endif(WITH_MAC_GHASH_BUILTIN)

set(IMPL_SOURCES "")

foreach(impl ${IMPLS})
  add_subdirectory(${impl})

  list(APPEND IMPL_SOURCES $<TARGET_OBJECTS:mac_ghash_${impl}>)
endforeach(impl)


set(MAC_NAME "ghash" PARENT_SCOPE)
set(IMPLS "${IMPLS}" PARENT_SCOPE)
set(IMPL_SOURCES "${IMPL_SOURCES}" PARENT_SCOPE)