1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

chore(core): Decrease ECMULT_GEN_PREC_BITS to save 32kB of flash space.

This commit is contained in:
Andrew Kozlik 2022-08-24 17:04:43 +02:00 committed by Andrew Kozlik
parent b5cb9cb035
commit 054b5456d2
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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',