mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-01 18:30:56 +00:00
fix(core): fix feature flags in SConscript.firmware
[no changelog]
This commit is contained in:
parent
4bcece8a43
commit
7aab023fea
@ -26,21 +26,7 @@ if BENCHMARK and PYOPT != '0':
|
|||||||
FEATURE_FLAGS = {
|
FEATURE_FLAGS = {
|
||||||
"RDI": True,
|
"RDI": True,
|
||||||
"SECP256K1_ZKP": True, # required for trezor.crypto.curve.bip340 (BIP340/Taproot)
|
"SECP256K1_ZKP": True, # required for trezor.crypto.curve.bip340 (BIP340/Taproot)
|
||||||
"AES_GCM": BENCHMARK,
|
"AES_GCM": BENCHMARK or THP,
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if THP:
|
|
||||||
FEATURE_FLAGS = {
|
|
||||||
"RDI": True,
|
|
||||||
"SECP256K1_ZKP": True, # required for trezor.crypto.curve.bip340 (BIP340/Taproot)
|
|
||||||
"AES_GCM": True, # Required for THP encryption
|
|
||||||
}
|
|
||||||
else:
|
|
||||||
FEATURE_FLAGS = {
|
|
||||||
"RDI": True,
|
|
||||||
"SECP256K1_ZKP": True, # required for trezor.crypto.curve.bip340 (BIP340/Taproot)
|
|
||||||
"AES_GCM": False,
|
|
||||||
}
|
}
|
||||||
FEATURES_WANTED = ["input", "sbu", "sd_card", "rgb_led", "dma2d", "consumption_mask", "usb" ,"optiga", "haptic"]
|
FEATURES_WANTED = ["input", "sbu", "sd_card", "rgb_led", "dma2d", "consumption_mask", "usb" ,"optiga", "haptic"]
|
||||||
if DISABLE_OPTIGA and PYOPT == '0':
|
if DISABLE_OPTIGA and PYOPT == '0':
|
||||||
|
Loading…
Reference in New Issue
Block a user