diff --git a/core/SConscript.firmware b/core/SConscript.firmware index 4804c7c01..2758eb09e 100644 --- a/core/SConscript.firmware +++ b/core/SConscript.firmware @@ -125,7 +125,7 @@ if FEATURE_FLAGS["SECP256K1_ZKP"]: 'USE_ASM_ARM', 'USE_EXTERNAL_ASM', 'USE_EXTERNAL_DEFAULT_CALLBACKS', - ('ECMULT_GEN_PREC_BITS', '4'), + ('ECMULT_GEN_PREC_BITS', '2'), ('ECMULT_WINDOW_SIZE', '8'), 'ENABLE_MODULE_GENERATOR', 'ENABLE_MODULE_RECOVERY', diff --git a/core/SConscript.unix b/core/SConscript.unix index ae42ec672..be157a8a6 100644 --- a/core/SConscript.unix +++ b/core/SConscript.unix @@ -122,7 +122,7 @@ if FEATURE_FLAGS["SECP256K1_ZKP"]: 'USE_SECP256K1_ZKP_ECDSA', ('SECP256K1_CONTEXT_SIZE', '208'), 'USE_EXTERNAL_DEFAULT_CALLBACKS', - ('ECMULT_GEN_PREC_BITS', '4'), + ('ECMULT_GEN_PREC_BITS', '2'), ('ECMULT_WINDOW_SIZE', '8'), 'ENABLE_MODULE_GENERATOR', 'ENABLE_MODULE_RECOVERY',