Added ECMULT window size

This commit is contained in:
Elichai Turkel 2019-05-28 15:53:38 +03:00
parent ce9efb0441
commit 0b770cf407
No known key found for this signature in database
GPG Key ID: 9383CDE9E8E66A7F
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View File

@ -4,3 +4,6 @@ Cargo.lock
#IntelliJ project files
.idea
*.iml
CMakeLists.txt
cmake-build-debug

View File

@ -52,7 +52,8 @@ fn main() {
.define("USE_NUM_NONE", Some("1"))
.define("USE_FIELD_INV_BUILTIN", Some("1"))
.define("USE_SCALAR_INV_BUILTIN", Some("1"))
.define("ENABLE_MODULE_ECDH", Some("1"));
.define("ENABLE_MODULE_ECDH", Some("1"))
.define("ECMULT_WINDOW_SIZE", Some("15")); // This is the default in the configure file (`auto`)
#[cfg(feature = "endomorphism")]
base_config.define("USE_ENDOMORPHISM", Some("1"));