mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-19 21:08:07 +00:00
chore(crypto,core,legacy): reduce size of precomputed table used by secp256k1 submodule
[no changelog]
This commit is contained in:
parent
20453f6c99
commit
df2545b78e
@ -183,7 +183,7 @@ if FEATURE_FLAGS["SECP256K1_ZKP"]:
|
||||
'USE_EXTERNAL_ASM',
|
||||
'USE_EXTERNAL_DEFAULT_CALLBACKS',
|
||||
('ECMULT_GEN_PREC_BITS', '2'),
|
||||
('ECMULT_WINDOW_SIZE', '8'),
|
||||
('ECMULT_WINDOW_SIZE', '2'),
|
||||
'ENABLE_MODULE_GENERATOR',
|
||||
'ENABLE_MODULE_RECOVERY',
|
||||
'ENABLE_MODULE_SCHNORRSIG',
|
||||
|
@ -184,7 +184,7 @@ if FEATURE_FLAGS["SECP256K1_ZKP"]:
|
||||
('SECP256K1_CONTEXT_SIZE', '208'),
|
||||
'USE_EXTERNAL_DEFAULT_CALLBACKS',
|
||||
('ECMULT_GEN_PREC_BITS', '2'),
|
||||
('ECMULT_WINDOW_SIZE', '8'),
|
||||
('ECMULT_WINDOW_SIZE', '2'),
|
||||
'ENABLE_MODULE_GENERATOR',
|
||||
'ENABLE_MODULE_RECOVERY',
|
||||
'ENABLE_MODULE_SCHNORRSIG',
|
||||
|
@ -65,7 +65,7 @@ endif
|
||||
|
||||
ZKP_CFLAGS = \
|
||||
-DECMULT_GEN_PREC_BITS=4 \
|
||||
-DECMULT_WINDOW_SIZE=8 \
|
||||
-DECMULT_WINDOW_SIZE=2 \
|
||||
-DENABLE_MODULE_GENERATOR \
|
||||
-DENABLE_MODULE_RECOVERY \
|
||||
-DENABLE_MODULE_SCHNORRSIG \
|
||||
|
@ -19,7 +19,7 @@ ZKP_CFLAGS = \
|
||||
-DUSE_EXTERNAL_ASM \
|
||||
-DUSE_EXTERNAL_DEFAULT_CALLBACKS \
|
||||
-DECMULT_GEN_PREC_BITS=4 \
|
||||
-DECMULT_WINDOW_SIZE=8 \
|
||||
-DECMULT_WINDOW_SIZE=2 \
|
||||
-DENABLE_MODULE_GENERATOR \
|
||||
-DENABLE_MODULE_RECOVERY \
|
||||
-DENABLE_MODULE_SCHNORRSIG \
|
||||
|
Loading…
Reference in New Issue
Block a user