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:
parent
a5f7c19f7e
commit
4d0381055c
1
core/.changelog.d/2899.fixed
Normal file
1
core/.changelog.d/2899.fixed
Normal file
@ -0,0 +1 @@
|
||||
Fix RNG for bootloader and make insecure PRNG opt-in, not opt-out.
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user