diff --git a/libraries/libfc/secp256k1/CMakeLists.txt b/libraries/libfc/secp256k1/CMakeLists.txt index 0218592a5a..bc12852ad6 100644 --- a/libraries/libfc/secp256k1/CMakeLists.txt +++ b/libraries/libfc/secp256k1/CMakeLists.txt @@ -5,10 +5,12 @@ add_library(secp256k1-internal INTERFACE) target_include_directories(secp256k1-internal INTERFACE secp256k1/src) target_compile_definitions(secp256k1-internal INTERFACE ENABLE_MODULE_RECOVERY=1 - ECMULT_GEN_PREC_BITS=4 + ENABLE_MODULE_EXTRAKEYS=1 + COMB_BLOCKS=11 + COMB_TEETH=6 ECMULT_WINDOW_SIZE=15 SECP256K1_STATIC=1) -if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64 OR CMAKE_SYSTEM_PROCESSOR STREQUAL amd64) +if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64) target_compile_definitions(secp256k1-internal INTERFACE USE_ASM_X86_64=1) endif() diff --git a/libraries/libfc/secp256k1/secp256k1 b/libraries/libfc/secp256k1/secp256k1 index 1ad5185cd4..e3a885d42a 160000 --- a/libraries/libfc/secp256k1/secp256k1 +++ b/libraries/libfc/secp256k1/secp256k1 @@ -1 +1 @@ -Subproject commit 1ad5185cd42c0636104129fcc9f6a4bf9c67cc40 +Subproject commit e3a885d42a7800c1ccebad94ad1e2b82c4df5c65