Added ECMULT window size
This commit is contained in:
parent
ce9efb0441
commit
0b770cf407
|
@ -4,3 +4,6 @@ Cargo.lock
|
||||||
#IntelliJ project files
|
#IntelliJ project files
|
||||||
.idea
|
.idea
|
||||||
*.iml
|
*.iml
|
||||||
|
|
||||||
|
CMakeLists.txt
|
||||||
|
cmake-build-debug
|
||||||
|
|
3
build.rs
3
build.rs
|
@ -52,7 +52,8 @@ fn main() {
|
||||||
.define("USE_NUM_NONE", Some("1"))
|
.define("USE_NUM_NONE", Some("1"))
|
||||||
.define("USE_FIELD_INV_BUILTIN", Some("1"))
|
.define("USE_FIELD_INV_BUILTIN", Some("1"))
|
||||||
.define("USE_SCALAR_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")]
|
#[cfg(feature = "endomorphism")]
|
||||||
base_config.define("USE_ENDOMORPHISM", Some("1"));
|
base_config.define("USE_ENDOMORPHISM", Some("1"));
|
||||||
|
|
Loading…
Reference in New Issue