mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 20:38:10 +00:00
fix(legacy,core): fix size of secp256k1-zkp context
[no changelog]
This commit is contained in:
parent
14a0bc13ce
commit
a198b390ff
@ -120,7 +120,7 @@ if FEATURE_FLAGS["SECP256K1_ZKP"]:
|
|||||||
CPPDEFINES_MOD += [
|
CPPDEFINES_MOD += [
|
||||||
'USE_SECP256K1_ZKP',
|
'USE_SECP256K1_ZKP',
|
||||||
'USE_SECP256K1_ZKP_ECDSA',
|
'USE_SECP256K1_ZKP_ECDSA',
|
||||||
('SECP256K1_CONTEXT_SIZE', '184'),
|
('SECP256K1_CONTEXT_SIZE', '180'),
|
||||||
'USE_ASM_ARM',
|
'USE_ASM_ARM',
|
||||||
'USE_EXTERNAL_ASM',
|
'USE_EXTERNAL_ASM',
|
||||||
'USE_EXTERNAL_DEFAULT_CALLBACKS',
|
'USE_EXTERNAL_DEFAULT_CALLBACKS',
|
||||||
|
@ -11,7 +11,7 @@ CFLAGS += -DUSE_SECP256K1_ZKP_ECDSA
|
|||||||
ifeq ($(EMULATOR),1)
|
ifeq ($(EMULATOR),1)
|
||||||
CFLAGS += -DSECP256K1_CONTEXT_SIZE=208
|
CFLAGS += -DSECP256K1_CONTEXT_SIZE=208
|
||||||
else
|
else
|
||||||
CFLAGS += -DSECP256K1_CONTEXT_SIZE=184
|
CFLAGS += -DSECP256K1_CONTEXT_SIZE=180
|
||||||
OBJS += field_10x26_arm.o
|
OBJS += field_10x26_arm.o
|
||||||
endif
|
endif
|
||||||
ZKP_CFLAGS = \
|
ZKP_CFLAGS = \
|
||||||
|
Loading…
Reference in New Issue
Block a user