Skip to content

Commit

Permalink
Merge with original repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Harrm committed Feb 9, 2024
1 parent 1ad5185 commit 67423c2
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ coverage.*.html
*.gcno
*.gcov

build/
cmake-build-*
.idea/

build-aux/ar-lib
build-aux/config.guess
build-aux/config.sub
Expand Down
42 changes: 42 additions & 0 deletions src/libsecp256k1-config.h.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/* Copyright (c) 2017 The Bitcoin developers */

#pragma once

#cmakedefine HAVE___INT128

#cmakedefine USE_NUM_GMP
#cmakedefine USE_FIELD_INV_NUM
#cmakedefine USE_SCALAR_INV_NUM

#cmakedefine USE_NUM_NONE
#cmakedefine USE_FIELD_INV_BUILTIN
#cmakedefine USE_SCALAR_INV_BUILTIN

#cmakedefine USE_SCALAR_4X64
#cmakedefine USE_FIELD_5X52

#cmakedefine USE_SCALAR_8X32
#cmakedefine USE_FIELD_10X26

#cmakedefine USE_ASM_X86_64

#cmakedefine USE_ECMULT_STATIC_PRECOMPUTATION

#cmakedefine ECMULT_GEN_PREC_BITS
#if defined(ECMULT_GEN_PREC_BITS)
#define ECMULT_GEN_PREC_BITS ${CLIENT_BUILD_SUFFIX}
#else
#define ECMULT_GEN_PREC_BITS 4
#endif

#cmakedefine ECMULT_WINDOW_SIZE
#if defined(ECMULT_WINDOW_SIZE)
#define ECMULT_WINDOW_SIZE ${ECMULT_WINDOW_SIZE}
#else
#define ECMULT_WINDOW_SIZE 15
#endif

#cmakedefine ENABLE_MODULE_ECDH
#cmakedefine ENABLE_MODULE_MULTISET
#cmakedefine ENABLE_MODULE_RECOVERY
#cmakedefine ENABLE_MODULE_SCHNORR

0 comments on commit 67423c2

Please sign in to comment.