File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,13 @@ fn main() {
52
52
. include ( "depend/secp256k1/src" )
53
53
. flag_if_supported ( "-Wno-unused-function" ) // some ecmult stuff is defined but not used upstream
54
54
. define ( "SECP256K1_BUILD" , Some ( "1" ) )
55
+ . define ( "ENABLE_MODULE_ECDH" , Some ( "1" ) )
56
+ . define ( "ECMULT_GEN_PREC_BITS" , Some ( "4" ) )
55
57
// TODO these three should be changed to use libgmp, at least until secp PR 290 is merged
56
58
. define ( "USE_NUM_NONE" , Some ( "1" ) )
57
59
. define ( "USE_FIELD_INV_BUILTIN" , Some ( "1" ) )
58
- . define ( "USE_SCALAR_INV_BUILTIN" , Some ( "1" ) )
59
- . define ( "ENABLE_MODULE_ECDH" , Some ( "1" ) ) ;
60
-
60
+ . define ( "USE_SCALAR_INV_BUILTIN" , Some ( "1" ) ) ;
61
+
61
62
if cfg ! ( feature = "lowmemory" ) {
62
63
base_config. define ( "ECMULT_WINDOW_SIZE" , Some ( "4" ) ) ; // A low-enough value to consume neglible memory
63
64
} else {
You can’t perform that action at this time.
0 commit comments