Modern embedded devices are expected to protect:
- firmware,
- private keys,
- device identity,
- communication credentials,
- update mechanisms.
Every security function ultimately depends on one question:
What is the first component in the system that can be trusted?
That trusted foundation is called the:
Hardware Root of Trust.
A hardware root of trust is a protected hardware component or immutable security function that establishes the first reliable security decision in the system.
Everything else builds from that trust anchor.
Fundamentals and Technology Overview
Why a Root of Trust Is Necessary
Software alone cannot reliably prove its own integrity if an attacker can replace:
- boot code,
- firmware,
- keys,
- configuration.
A root of trust starts from something more difficult to modify.
Typical examples include:
- ROM boot code,
- one-time programmable memory,
- secure element,
- dedicated root-of-trust controller,
- immutable security module.
Chain of Trust
A root of trust normally creates a chain:
Hardware Root → Bootloader → Firmware → Application → Updates
Each stage verifies the next stage before allowing execution.
Immutable Code
The strongest root of trust is usually based on code or keys that cannot be modified after manufacturing.
Examples include:
- boot ROM,
- OTP memory,
- hardware fuses.
If the first verification stage can be rewritten by ordinary software, it is a weaker trust anchor.
Secure Boot
Secure boot is one of the most important functions built on a root of trust.
The root verifies:
- firmware signature,
- expected key,
- integrity.
Only trusted firmware is executed.
Device Identity
A hardware root of trust can store or derive a unique device identity.
This can be used for:
- TLS client authentication,
- cloud onboarding,
- industrial network authentication.
Protected Key Storage
Private keys should not be stored in ordinary application Flash when stronger hardware storage is available.
Secure roots can keep keys:
- unreadable,
- non-exportable.
The hardware performs cryptographic operations without exposing the key.
Secure Elements
A secure element is a common external root-of-trust implementation.
Microchip describes secure authentication ICs as hardware roots of trust that provide:
- tamper-resistant key storage,
- cryptographic services,
- device authentication,
- secure firmware-update support.
Root-of-Trust Controllers
Larger embedded platforms may use a dedicated root-of-trust controller.
Microchip's current Trust Shield controllers are designed to protect systems across:
- boot,
- runtime,
- firmware updates.
They also support:
- rollback protection,
- key revocation,
- recovery.
Platform Root of Trust
A platform root of trust can supervise a larger SoC.
A dedicated controller may hold the main processor in reset until firmware verification succeeds.
This creates a security boundary independent of the main application processor.
Measurement vs Verification
A root of trust may:
Verify
Reject untrusted code.
Measure
Calculate cryptographic hashes and record what actually booted.
Measurement supports:
- attestation,
- forensic analysis.
Remote Attestation
Attestation allows a device to prove to another system that it is running an expected software state.
This is useful for:
- industrial gateways,
- cloud-managed devices.
Safety, Security, and Reliability
Key Revocation
Security systems need a way to stop trusting compromised signing keys.
A strong root-of-trust architecture supports:
- key revocation,
- key replacement.
Rollback Protection
An attacker may attempt to install an older vulnerable firmware version.
Rollback protection prevents firmware from being downgraded below an approved security version.
Monotonic Counters
A monotonic counter only moves forward.
It can track:
- firmware version,
- security state.
This helps enforce anti-rollback policies.
Recovery
Firmware resiliency includes more than detection.
A secure platform should be able to:
- detect corruption,
- recover known-good firmware.
Secure Update
A trusted update flow usually includes:
- receive image,
- authenticate image,
- verify version,
- install safely,
- preserve rollback/recovery option.
Hardware Root of Trust vs Secure Element
These concepts overlap but are not identical.
Hardware Root of Trust
The foundational trust anchor.
Secure Element
One hardware implementation that can provide root-of-trust services.
Hardware Root of Trust vs TPM
A TPM is a standardized security component offering:
- measured boot,
- attestation,
- key protection.
A root of trust is the broader architectural concept.
Root of Trust Inside an MCU
Some microcontrollers include:
- ROM boot,
- unique device secrets,
- immutable key storage,
- secure boot engine.
This creates an integrated root of trust without an external chip.
External Root of Trust
An external secure controller can be useful when:
- main SoC firmware is complex,
- platform independence matters,
- stronger isolation is needed.
Cryptographic Algorithms
Root-of-trust hardware may accelerate:
- AES,
- SHA,
- RSA,
- ECC,
- post-quantum algorithms.
Implementation, Testing, and Optimization
Random Number Generation
A true random number generator is important for:
- keys,
- nonces,
- cryptographic protocols.
Physical Attack Protection
Security ICs may include defenses against:
- probing,
- fault injection,
- side-channel attacks.
Post-Quantum Readiness
Current root-of-trust designs are beginning to support:
- post-quantum cryptography,
- hybrid classical/PQC boot verification.
Microchip's 2026 Trust Shield platform explicitly targets PQC-ready secure boot and platform resiliency.
Industrial Devices
Industrial controllers may remain deployed for:
- 10 years,
- longer.
Root-of-trust design should therefore consider:
- long-term update capability,
- key rotation,
- lifecycle security.
IoT Devices
For connected sensors, a root of trust can protect:
- cloud credentials,
- firmware,
- unique identity.
Automotive
Automotive ECUs increasingly require:
- authenticated boot,
- secure diagnostics,
- protected communication.
Common Mistake: Shared Fleet Key
Using one secret for every device creates systemic risk.
Use unique device identities wherever possible.
Common Mistake: Secure Boot Without Update Security
A secure boot process is incomplete if the device accepts unsigned or rollbackable updates.
Common Mistake: Protecting Software but Not Keys
The cryptographic system fails if attackers can extract signing or authentication keys.
Common Mistake: No Recovery
A failed secure update can brick a product if there is no resilient recovery path.
Design Workflow
- Define threat model.
- Choose trust anchor.
- Define immutable assets.
- Implement secure boot.
- Protect device identity.
- Add rollback protection.
- Add key revocation.
- Design secure update.
- Add attestation if required.
- Plan end-of-life security.
Conclusion
A hardware root of trust is the foundation of embedded security.
It establishes the first trusted state from which the rest of the system can be verified.
A strong root-of-trust architecture provides:
- immutable verification,
- protected keys,
- secure boot,
- secure updates,
- rollback protection,
- attestation.
The most important principle is:
trust must begin in hardware before software can be trusted.