chore(core): remove unnecessary definition of `USE_TREZOR_CRYPTO`
What changed, and why it matters
This is a one-line cleanup change that removes an unused compiler flag from the build configuration for a Trezor emulator model. It does not change any runtime code, security logic, or cryptographic behavior. There is no indication this is a security fix.
No security action needed. Treat as routine build cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit removes the preprocessor define USE_TREZOR_CRYPTO from core/site_scons/models/T3W1/emulator.py. The commit message explicitly calls it ‘unnecessary.’ The diff shows only this deletion, with no accompanying code changes, conditional logic, or cryptographic implementation changes. It is a build-system hygiene change.
Changed components
core/site_scons/models/T3W1/emulator.pyInspect captured patch +0 / −1
diff --git a/core/site_scons/models/T3W1/emulator.py b/core/site_scons/models/T3W1/emulator.py
index cc34ac307..cf98a56d4 100644
--- a/core/site_scons/models/T3W1/emulator.py
+++ b/core/site_scons/models/T3W1/emulator.py
@@ -90,7 +90,6 @@ def configure(
paths += ["embed/sec/tropic/inc"]
paths += ["vendor/libtropic/include"]
paths += ["vendor/libtropic/src"]
- defines += ["USE_TREZOR_CRYPTO"]
features_available.append("tropic")
defines += [("USE_TROPIC", "1")]
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.