Skip to content

Commit d28e8a6

Browse files
committed
Added ECMULT window size
1 parent 573b2d2 commit d28e8a6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ fn main() {
5353
.define("USE_FIELD_INV_BUILTIN", Some("1"))
5454
.define("USE_SCALAR_INV_BUILTIN", Some("1"))
5555
.define("USE_ENDOMORPHISM", Some("1"))
56-
.define("ENABLE_MODULE_ECDH", Some("1"));
56+
.define("ENABLE_MODULE_ECDH", Some("1"))
57+
.define("ECMULT_WINDOW_SIZE", Some("15")); // This is the default in the configure file (`auto`)
5758

5859
#[cfg(feature = "recovery")]
5960
base_config.define("ENABLE_MODULE_RECOVERY", Some("1"));

0 commit comments

Comments
 (0)