← Watch feed
build(legacy): remove unused `USE_ASM_ARM` flag
What changed, and why it matters
This commit removes an unused compiler flag from the build system for the older Trezor firmware. The flag was defined but never referenced anywhere in the source code, so removing it has no functional or security effect.
Recommended action
No security action needed; this is a benign build cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change deletes -DUSE_ASM_ARM from ZKP_CFLAGS in legacy/firmware/Makefile. The commit message states the flag was never used in C code. It is purely a build cleanup with no code path or behavior change.
Changed components
legacy/firmware/MakefileInspect captured patch +0 / −1
### legacy/firmware/Makefile
@@ -17,7 +17,6 @@ CFLAGS += -DSECP256K1_CONTEXT_SIZE=180
OBJS += field_10x26_arm.o
endif
ZKP_CFLAGS = \
- -DUSE_ASM_ARM \
-DUSE_EXTERNAL_ASM \
-DUSE_EXTERNAL_DEFAULT_CALLBACKS \
-DECMULT_WINDOW_SIZE=2 \Risk score
Our methodology →Why this scored 15/100
Human-validated context
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
No validated notes yet.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.