1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 05:58:09 +00:00

chore(crypto,core,legacy): reduce size of precomputed table used by secp256k1 submodule

[no changelog]
This commit is contained in:
Ondřej Vejpustek 2024-08-02 15:16:48 +02:00
parent 20453f6c99
commit df2545b78e
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

@ -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 \

View File

@ -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 \