Secure Boot Performance Analysis

This document lists the performance of ROM-based and MCUBoot-based secure boot implementations on the AM13E230x.

ROM-Based Secure Boot

Device: AM13E230x

CPU: ARM Cortex-M33 @ 32 MHz

Code Placement: ROM

Data/Stack: RAM

Test Setup: Performance metrics were measured using a logic analyzer. The application toggles a GPIO pin on the AM13E230x device. The time elapsed from device reset to GPIO toggle was measured to determine the secure boot time.

Overview

ROM-based secure boot performs image validation using ROM code. The ROM validates the signed application image on HSSE (High Security Security Enforced) device and boots successfully if the image is valid.

Note: ROM does not support bank switch selection

Security Characteristics

  • Authentication Method: AES-CMAC provides message authentication without encryption

  • Key Size: 128 bits (shared secret key stored in secure memory)

ROM-Based Secure Boot Performance

The following table shows ROM-based secure boot performance:

Image Size (KB)

Boot Time (ms)

16

30.1477

32

34.4532

64

43.0022

128

60.1349

256

94.3669

384

128.6391

500

159.6727

MCUBoot-Based Secure Boot

Device: AM13E230x

CPU: ARM Cortex-M33 @ 250 MHz

Code Placement: FLASH

Data/Stack: RAM

Test Setup: Performance metrics were measured using cycle counters (CycleCounter register on Cortex-M33). Measurements are performed after MCUBoot initialization when the CPU runs at full 250 MHz clock speed.

Overview

The MCUBoot Boot Manager running on the ARM Cortex-M33 validates signed application images after ROM boot. For firmware updates, both current and update images are stored in separate flash banks. The Boot Manager authenticates the latest image and boots it if valid; otherwise, it attempts to boot from the alternate slot.

Security Characteristics

  • Authentication Method: AES-CMAC provides message authentication without encryption

  • Key Size: 128 bits (shared secret key stored in secure memory)

MCUBoot-Based Secure Boot Performance

The following table shows MCUBoot secure boot performance in two scenarios:

  • With No Bank Switch: Latest firmware found in Bank A and booted directly without flash bank swap (no firmware in secondary slot)

  • With Bank Switch Applied: Latest firmware found in Bank B, requiring a flash bank swap before boot (typical firmware update scenario)

Image Size (KB)

No Bank Switch (ms)

With Bank Switch Applied (ms)

16

1.244

1.264

32

2.487

2.487

64

4.915

4.919

128

9.771

9.814

190

14.530

14.540