mirror of
https://github.com/OpenCoin/oc-mint-cpp.git
synced 2024-12-22 07:39:40 +01:00
Compare commits
2 Commits
7d3066572c
...
f77eb2f98e
Author | SHA1 | Date | |
---|---|---|---|
|
f77eb2f98e | ||
|
84cbb34391 |
@ -46,6 +46,18 @@ if(NOT expected_POPULATED)
|
||||
FetchContent_Populate(expected)
|
||||
endif(NOT expected_POPULATED)
|
||||
|
||||
# add crypt++ (+cmake) library
|
||||
set(CRYPTOPP_BUILD_TESTING Off)
|
||||
set(CRYPTOPP_INSTALL Off)
|
||||
|
||||
if(NOT cryptopp_POPULATED)
|
||||
FetchContent_Declare(cryptopp
|
||||
GIT_REPOSITORY https://github.com/abdes/cryptopp-cmake.git
|
||||
GIT_TAG CRYPTOPP_8_7_0)
|
||||
FetchContent_Populate(cryptopp)
|
||||
add_subdirectory(${cryptopp_SOURCE_DIR} ${cryptopp_BINARY_DIR})
|
||||
endif(NOT cryptopp_POPULATED)
|
||||
|
||||
include(CTest)
|
||||
enable_testing()
|
||||
|
||||
@ -77,7 +89,7 @@ set(LIB_SOURCES
|
||||
src/big_int.hpp src/big_int.cpp )
|
||||
|
||||
add_library(oc-mint-lib ${LIB_SOURCES})
|
||||
target_link_libraries(oc-mint-lib PUBLIC Crow::Crow)
|
||||
target_link_libraries(oc-mint-lib PUBLIC Crow::Crow cryptopp::cryptopp)
|
||||
target_include_directories(oc-mint-lib PUBLIC ${expected_SOURCE_DIR}/include src)
|
||||
|
||||
add_executable(${PROJECT_NAME} src/main.cpp)
|
||||
|
@ -51,3 +51,8 @@ https://crypto.stackexchange.com/questions/12707/usability-of-padding-scheme-in-
|
||||
|
||||
https://crypto.stackexchange.com/questions/54085/is-there-a-standard-padding-format-for-rsa-blind-signatures/60728#60728
|
||||
https://crypto.stackexchange.com/questions/5626/rsa-blind-signatures-in-practice
|
||||
|
||||
<https://cfrg.github.io/draft-irtf-cfrg-blind-signatures/draft-irtf-cfrg-rsa-blind-signatures.html>
|
||||
|
||||
alternative implementation using openssl
|
||||
https://github.com/jedisct1/blind-rsa-signatures
|
||||
|
Loading…
Reference in New Issue
Block a user