1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-17 11:58:13 +00:00

chore(crypto): initialize automatic variables to zero

This commit is contained in:
Ondřej Vejpustek 2024-04-05 15:44:05 +02:00
parent 9a4215581e
commit bfbb6f8685

View File

@ -59,6 +59,10 @@ CFLAGS += $(OPTFLAGS) \
-Wno-missing-braces \
-Werror
ifneq ($(FUZZER),1) # This can be removed once the fuzzer machine uses at least clang 16
CFLAGS += -ftrivial-auto-var-init=zero
endif
ZKP_CFLAGS = \
-DECMULT_GEN_PREC_BITS=4 \
-DECMULT_WINDOW_SIZE=8 \