Skip to content

Commit 2a33e41

Browse files
committed
removed cryptopp, openssl shall be used instead for blinding (but not implemented yet)
1 parent 96d25a0 commit 2a33e41

File tree

2 files changed

+229
-230
lines changed

2 files changed

+229
-230
lines changed

CMakeLists.txt

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ enable_language(CXX)
77
set(CMAKE_CXX_STANDARD 17)
88
set(CMAKE_EXPORT_COMPILE_COMMANDS On)
99

10+
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
1011
if(POLICY CMP0077)
1112
cmake_policy(SET CMP0077 NEW)
1213
endif()
@@ -52,16 +53,16 @@ if(NOT expected_POPULATED)
5253
endif(NOT expected_POPULATED)
5354

5455
# add crypt++ (+cmake) library
55-
set(CRYPTOPP_BUILD_TESTING Off)
56-
set(CRYPTOPP_INSTALL Off)
56+
#set(CRYPTOPP_BUILD_TESTING Off)
57+
#set(CRYPTOPP_INSTALL Off)
5758

58-
if(NOT cryptopp_POPULATED)
59-
FetchContent_Declare(cryptopp
60-
GIT_REPOSITORY https://github.com/abdes/cryptopp-cmake.git
61-
GIT_TAG CRYPTOPP_8_7_0)
62-
FetchContent_Populate(cryptopp)
63-
add_subdirectory(${cryptopp_SOURCE_DIR} ${cryptopp_BINARY_DIR})
64-
endif(NOT cryptopp_POPULATED)
59+
#if(NOT cryptopp_POPULATED)
60+
# FetchContent_Declare(cryptopp
61+
# GIT_REPOSITORY https://github.com/abdes/cryptopp-cmake.git
62+
# GIT_TAG CRYPTOPP_8_7_0_1)
63+
# FetchContent_Populate(cryptopp)
64+
# add_subdirectory(${cryptopp_SOURCE_DIR} ${cryptopp_BINARY_DIR})
65+
#endif(NOT cryptopp_POPULATED)
6566

6667
include(CTest)
6768
enable_testing()
@@ -94,7 +95,7 @@ set(LIB_SOURCES
9495
src/big_int.hpp src/big_int.cpp )
9596

9697
add_library(oc-mint-lib ${LIB_SOURCES})
97-
target_link_libraries(oc-mint-lib PUBLIC Crow::Crow cryptopp::cryptopp)
98+
target_link_libraries(oc-mint-lib PUBLIC Crow::Crow) # cryptopp::cryptopp)
9899
target_include_directories(oc-mint-lib PUBLIC ${expected_SOURCE_DIR}/include src)
99100

100101
add_executable(${PROJECT_NAME} src/main.cpp)

0 commit comments

Comments
 (0)