ARM TrustZone
More info
- Creator
- ARM
- Released
- 2004
- Type
- Hardware isolation
ARM's hardware split of the processor into a secure and a normal world, so keys and critical code survive a compromised main OS.
TrustZone arrived in 2004 for application cores. Every bus transaction is tagged secure or non-secure, and memory and peripherals can be reserved for the secure side. There a small trusted OS — a TEE — handles keys, DRM and payments while Android or Linux runs in the normal world.
ARMv8-M and the Cortex-M33 brought TrustZone to microcontrollers in 2016, in a leaner form: instead of a monitor switching worlds, non-secure code calls designated entry points directly, at a cost of a few cycles. Trusted Firmware-M is the reference implementation. The isolation is never stronger than the code in the secure world, and that code has repeatedly turned out to have bugs of its own.