aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-crypto/CMakeLists.txt')
-rw-r--r--libcmix-crypto/CMakeLists.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/libcmix-crypto/CMakeLists.txt b/libcmix-crypto/CMakeLists.txt
index 56dd553..3a4b2db 100644
--- a/libcmix-crypto/CMakeLists.txt
+++ b/libcmix-crypto/CMakeLists.txt
@@ -10,14 +10,15 @@ set(interface_sources
${CMAKE_CURRENT_SOURCE_DIR}/keypair.h
${CMAKE_CURRENT_SOURCE_DIR}/sharedkey.h
${CMAKE_CURRENT_SOURCE_DIR}/groupelement.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/impl_macros.h
)
target_sources(cmix-crypto-interface
INTERFACE ${interface_sources}
)
-include(curve25519_implementations)
-add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/curve25519/)
+include(ed25519_implementations)
+add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/ed25519/)
include(elgamal_implementations)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/elgamal)
@@ -32,11 +33,11 @@ target_sources(cmix-crypto
INTERFACE ${interface_sources}
)
-option(UseEC "Use curve25519 instead of elgamal in a multiplicative group" OFF)
+option(UseEC "Use ed25519 instead of elgamal in a multiplicative group" OFF)
if(UseEC)
target_link_libraries(cmix-crypto
- INTERFACE curve25519-implementation
+ INTERFACE ed25519-implementation
)
else(UseEC)
target_link_libraries(cmix-crypto