Trusted Firmware-M v1.3 Released background image

Trusted Firmware-M v1.3 Released

Shebu Kuriakose
|

Trusted Firmware-M: v1.3 Released

Introduction

Trusted Firmware-M (TF-M) v1.3.0 was released on the 09th April, 2021. This version includes new secure service, implementation of recent PSA Specifications, enablement of new platforms and certain Arm v8.1-M architectural features since the last release v1.2.0. This is the first release tested using the Trustedfirmware projects’ Open Continuous Integration (CI) System.

Highlights of TF-M v1.3.0

While there have been around 250 commits in TF-M master branch since TF-Mv1.2.0, here are some of the highlights included in TF-Mv1.3.0:

  • M2354 (Cortex-M23), Cortex-M55 plus Ethos-U55 Corstone-300 FPGA and MuscaB1 Secure Enclave are the newly enabled platform ports. This adds to already supported platforms - STM32 Nucleo-144, STM32L562E-DK, LPCXpresso55S69, PSoC(R) 64, nRF5340 DK, nRF5340 PDK and M2351.
  • Firmware Frameowrk for M v1.1 Extensions Specification includes Security framework for smaller, simpler system architecture, optimizations based on feedback from v1.0 Framework and improvements to interrupt handing within Secure Partitions. Initial set of changes to align with the v1.1 Extension Specifications such as stateless RoT Service and Second-Level Interrupt Handling (SLIH) are included in the release.
  • PSA Firmware Update API defines a standard set of firmware update interfaces that can be used by update applications and cloud connector clients. In this tag, Trusted Firmware-M has implemented these interfaces as a new runtime Secure Service – Firmware Update (Refer Figure 1 Trusted Firmware-M). The new interface is exposed to applications for the performing Software updates.
  • A generic Threat Model listing threat and mitigations based on analysis of Trusted Firmware-M implementation has been published.
  • Fault Injection Handling library to mitigate against physical attacks has been implemented for use in Trusted Firmware-M modules.
  • Profile Large has been added to the existing Profile Medium and Profile Small support in TF-M v1.2 and v1.1 respectively. Each TF-M Profile provides a set of security features catering a particular category of use cases and aligns with the PSA Certification Protection Profiles.
  • Arm v8.1-M features such as Privileged Execute Never (PXN) attribute and Thread reentrancy disabled (TRD). These features are available on Cortex-M55 Corstone-300 platform
  • PSA Isolation Level3 support was enabled on Arm reference platforms MuscaB1 and AN521 in TF-M v1.2. STM32L562E-DK has been enabled with Level 3 support in this release. PSA Isolation Level 3 is the highest isolation level defined by the Firmware-Framewok-M and provides isolation of Secure Partition from Non-Secure Processing Environment (NSPE) and other Secure Partitions. The PSA Root of Trust (RoT) domain is also isolated from NSPE and all Secure Partitions. Refer Figure 1 Trusted Firmware-M
  • PSA Crypto Service and MCUboot (Secure Boot) updated to Mbed TLS v2.25 and MCUboot v1.7.2 respectively.

More details can be found in the Change Log.

Trusted Firmware’s Open Continuous Integration (Open CI) System has also continued to test more build configurations and has been used extensively for automated testing of the release. More TF-M platforms beyond the Arm reference platforms are getting added to the Open CI System. Mbed OS, Free RTOS, TF-M CMSIS Pack and Zephyr upstream integration of Trusted Firmware-M are expected to be updated to TF-M v1.3.0 soon.

Figure 1 - Trusted Firmware-M

Other Posts