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

fix(crypto): adapt to changing insecure PRNG to be opt-in

This commit is contained in:
Ondrej Mikle 2023-03-21 15:17:24 +01:00 committed by matejcik
parent a5f7c19f7e
commit 4d0381055c
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
Fix RNG for bootloader and make insecure PRNG opt-in, not opt-out.

View File

@ -82,6 +82,7 @@ CFLAGS += -DUSE_KECCAK=1
CFLAGS += -DUSE_MONERO=1
CFLAGS += -DUSE_NEM=1
CFLAGS += -DUSE_CARDANO=1
CFLAGS += -DUSE_INSECURE_PRNG=1
CFLAGS += $(shell pkg-config --cflags openssl)
# disable certain optimizations and features when small footprint is required