diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2017-02-11 14:48:52 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2017-02-11 17:54:40 +0100 |
| commit | 623dffe2c054d1639dbf9c8f21ddfb088c7950fb (patch) | |
| tree | f8159c5b3cf9872f9b271d03ad5a4b65ecec19b8 /libcmix-crypto/CMakeLists.txt | |
| parent | b229dc91d8825689c5e66264b462ce01398e621e (diff) | |
| download | cmix-623dffe2c054d1639dbf9c8f21ddfb088c7950fb.tar.gz cmix-623dffe2c054d1639dbf9c8f21ddfb088c7950fb.tar.bz2 cmix-623dffe2c054d1639dbf9c8f21ddfb088c7950fb.zip | |
Working Ed25519 Implementation of libcmix.
Diffstat (limited to 'libcmix-crypto/CMakeLists.txt')
| -rw-r--r-- | libcmix-crypto/CMakeLists.txt | 9 |
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 |
