ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
signed_payload.h File Reference

GENERATED: copy-to-run payload signed by scripts/secrets/rot_sign.py – do not edit. More...

#include <stdint.h>
Include dependency graph for signed_payload.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  : uint32_t { k_sb_payload_body_len = 32U }
 Signed body length (bytes ra8_dfu_launch copies + the digest covers). More...

Variables

static const uint8_t g_sb_signed_payload [148]
 Signed copy-to-run image: 32-byte body + 116-byte RoT trailer.

Detailed Description

GENERATED: copy-to-run payload signed by scripts/secrets/rot_sign.py – do not edit.

[ body (k_sb_payload_body_len) ][ ra8_rot_trailer_t (116) ]. The body is dfu_copy_to_run's 32-byte run-base image (payload.c); the trailer is signed with the project RoT key (img_version 7). Regenerate via examples/ek_ra8d2/hw_validated/hil/dfu_copy_to_run/scripts/ build_payload.sh + rot_sign.py if payload.c changes.

Since
0.1.0

Definition in file signed_payload.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : uint32_t

Signed body length (bytes ra8_dfu_launch copies + the digest covers).

Enumerator
k_sb_payload_body_len 

Sb payload body length.

Definition at line 17 of file signed_payload.h.

Variable Documentation

◆ g_sb_signed_payload

const uint8_t g_sb_signed_payload[148]
static
Initial value:
= {
0x00, 0x00, 0x06, 0x22, 0x09, 0x00, 0x02, 0x22, 0x03, 0x4A, 0x04, 0x4B, 0x1A, 0x60, 0x00,
0x22, 0x5A, 0x60, 0x5A, 0x68, 0x01, 0x32, 0xFB, 0xE7, 0xDE, 0xC0, 0x10, 0x97, 0x00, 0x00,
0x01, 0x22, 0x31, 0x54, 0x4F, 0x52, 0x01, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x20,
0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0xE3, 0xB1, 0xC2, 0xE3, 0x9C, 0xA9, 0x6C, 0x0B,
0x85, 0xE9, 0x1A, 0xF4, 0xB0, 0x34, 0x48, 0xF2, 0x74, 0x3C, 0x82, 0x40, 0x64, 0x79, 0x57,
0x95, 0xA8, 0x9C, 0xF7, 0x61, 0x74, 0xCA, 0xC5, 0x34, 0xD0, 0x0E, 0xCC, 0xEC, 0xB6, 0xC1,
0x4C, 0xA7, 0x60, 0x2A, 0x11, 0x88, 0x83, 0x09, 0xB4, 0x23, 0x39, 0x4D, 0xF2, 0x46, 0x0A,
0x49, 0xD7, 0x18, 0xD7, 0x95, 0xC9, 0x84, 0x26, 0xA5, 0xAE, 0xD9, 0x02, 0xDB, 0xD2, 0x79,
0x48, 0x4F, 0xE4, 0xA6, 0x64, 0x82, 0x7F, 0x21, 0x06, 0x89, 0x10, 0x19, 0xA9, 0xE8, 0xFA,
0xA7, 0x3E, 0x62, 0x22, 0x80, 0x50, 0x29, 0x79, 0xEB, 0x38, 0xE1, 0x6F, 0xC4,
}

Signed copy-to-run image: 32-byte body + 116-byte RoT trailer.

Definition at line 20 of file signed_payload.h.

Referenced by main(), and sb_tampered_rejected().