Skip to content

Commit

Permalink
fixed merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
ladnir committed Jun 18, 2024
1 parent 21c1bcf commit 2c24142
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 7 additions & 3 deletions cmake/buildOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ if(DEFINED ENABLE_ALL_OT)
set(ENABLE_SILENT_VOLE ${ENABLE_ALL_OT} CACHE BOOL "" FORCE)
unset(ENABLE_ALL_OT CACHE)

if(ENABLE_IKNP)
set(ENABLE_KOS true)
endif()
endif()


Expand Down Expand Up @@ -132,6 +129,9 @@ endif()

option(VERBOSE_FETCH "Print build info for fetched libraries" ON)

if(ENABLE_IKNP)
set(ENABLE_KOS true)
endif()

message(STATUS "General Options\n=======================================================")

Expand Down Expand Up @@ -210,6 +210,10 @@ if ((ENABLE_SIMPLESTOT OR ENABLE_MR OR ENABLE_NP OR ENABLE_MRR) AND NOT (ENABLE_
message(FATAL_ERROR "ENABLE_SIMPLESTOT, ENABLE_MR, ENABLE_NP, and ENABLE_MRR require ENABLE_SODIUM or ENABLE_RELIC")
endif()

if(ENABLE_IKNP AND NOT ENABLE_KOS)
message(FATAL_ERROR "ENABLE_IKNP requires ENABLE_KOS")
endif()



#include(${CMAKE_CURRENT_LIST_DIR}/../cryptoTools/cmake/cryptoToolsBuildOptions.cmake)
1 change: 0 additions & 1 deletion libOTe/Tools/Pprf/RegularPprf.h
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,6 @@ namespace osuCrypto
bool programPuncturedPoint,
u64 numThreads,
CoeffCtx ctx = {})
try
{
MACORO_TRY{
pprf::validateExpandFormat(oFormat, output, mDomain, mPntCount);
Expand Down

0 comments on commit 2c24142

Please sign in to comment.