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

Baked RoT-signed image fixture (body + ra8_rot_trailer_t). More...

#include <stdint.h>
Include dependency graph for rot_fixture.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_rot_fixture_body_len = 66U }
 Length of the signed body (bytes the digest covers). More...

Variables

static const uint8_t k_rot_fixture_image [182]
 Signed image: 66-byte body followed by the 116-byte trailer.

Detailed Description

Baked RoT-signed image fixture (body + ra8_rot_trailer_t).

Generated by scripts/secrets/rot_sign.py with the project RoT signing key (public half provisioned in libs/ra8_dfu/src/ra8_rot.c). Regenerate with: printf '...' > body.bin && \ scripts/secrets/rot_sign.py sign –key ~/ra8d2-rot-signing-key.pem –image body.bin \ –out signed.bin –img-version 1 DO NOT EDIT BY HAND.

Since
0.1.0

Definition in file rot_fixture.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : uint32_t

Length of the signed body (bytes the digest covers).

Enumerator
k_rot_fixture_body_len 

Rot fixture body length.

Definition at line 20 of file rot_fixture.h.

Variable Documentation

◆ k_rot_fixture_image

const uint8_t k_rot_fixture_image[182]
static
Initial value:
= {
0x52, 0x41, 0x38, 0x44, 0x32, 0x20, 0x72, 0x6F, 0x6F, 0x74, 0x2D, 0x6F, 0x66, 0x2D, 0x74, 0x72,
0x75, 0x73, 0x74, 0x20, 0x6F, 0x6E, 0x2D, 0x73, 0x69, 0x6C, 0x69, 0x63, 0x6F, 0x6E, 0x20, 0x76,
0x65, 0x72, 0x69, 0x66, 0x79, 0x20, 0x48, 0x49, 0x4C, 0x20, 0x66, 0x69, 0x78, 0x74, 0x75, 0x72,
0x65, 0x2E, 0x20, 0x53, 0x69, 0x67, 0x6E, 0x65, 0x64, 0x20, 0x62, 0x6F, 0x64, 0x79, 0x20, 0x76,
0x31, 0x2E, 0x31, 0x54, 0x4F, 0x52, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x42, 0x00,
0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0xD3, 0x11, 0x9C, 0xDA, 0x91, 0x16, 0x0B, 0x9F, 0x44, 0x1E,
0xBE, 0x76, 0x41, 0xF7, 0xCD, 0x17, 0x8E, 0x4E, 0x84, 0xFA, 0x80, 0x51, 0xF6, 0x78, 0x58, 0x28,
0x08, 0xC3, 0xE0, 0xA9, 0x76, 0x62, 0x66, 0x01, 0x49, 0x50, 0xA0, 0x22, 0x7E, 0xB5, 0x17, 0x7C,
0xE6, 0x3D, 0x08, 0x7A, 0xEA, 0xAD, 0x65, 0x07, 0xA2, 0xD8, 0xDF, 0xDB, 0x60, 0xB8, 0x0F, 0xE9,
0x8B, 0xA3, 0x44, 0x98, 0x7A, 0x29, 0xA7, 0xC8, 0xA5, 0xBE, 0xA6, 0x84, 0x42, 0x98, 0x81, 0x87,
0x96, 0x6B, 0x0E, 0x25, 0xBB, 0xA8, 0xA0, 0xAC, 0xDA, 0x51, 0xBE, 0xE0, 0xB2, 0xCA, 0xF6, 0x32,
0xB4, 0x7A, 0x72, 0x2B, 0xBB, 0x32,
}

Signed image: 66-byte body followed by the 116-byte trailer.

Definition at line 23 of file rot_fixture.h.

Referenced by rot_genuine_ok(), and rot_tamper_rejected().