Skip to content

Commit 0b770cf

Browse files
committed
Added ECMULT window size
1 parent ce9efb0 commit 0b770cf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ Cargo.lock
44
#IntelliJ project files
55
.idea
66
*.iml
7+
8+
CMakeLists.txt
9+
cmake-build-debug

build.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ fn main() {
5252
.define("USE_NUM_NONE", Some("1"))
5353
.define("USE_FIELD_INV_BUILTIN", Some("1"))
5454
.define("USE_SCALAR_INV_BUILTIN", Some("1"))
55-
.define("ENABLE_MODULE_ECDH", Some("1"));
55+
.define("ENABLE_MODULE_ECDH", Some("1"))
56+
.define("ECMULT_WINDOW_SIZE", Some("15")); // This is the default in the configure file (`auto`)
5657

5758
#[cfg(feature = "endomorphism")]
5859
base_config.define("USE_ENDOMORPHISM", Some("1"));

0 commit comments

Comments
 (0)