Software APIs
Data Fields
boot_svc_header Struct Reference

Boot services message header. More...

#include <sw/device/silicon_creator/lib/boot_svc/boot_svc_header.h>

Data Fields

hmac_digest_t digest
 SHA256 digest of the message. More...
 
uint32_t identifier
 Identifier. More...
 
uint32_t type
 Type of the message.
 
uint32_t length
 Total length of the message in bytes.
 

Detailed Description

Boot services message header.

All boot services messages start with a common header followed by a message specific payload.

Definition at line 34 of file boot_svc_header.h.

Field Documentation

◆ digest

hmac_digest_t boot_svc_header::digest

SHA256 digest of the message.

Digest region starts at identifier and extends until the end of the message.

Definition at line 41 of file boot_svc_header.h.

◆ identifier

uint32_t boot_svc_header::identifier

Identifier.

This field must be kBootSvcIdentifier for boot service messages that use this header format.

Definition at line 48 of file boot_svc_header.h.

◆ length

uint32_t boot_svc_header::length

Total length of the message in bytes.

Definition at line 56 of file boot_svc_header.h.

◆ type

uint32_t boot_svc_header::type

Type of the message.

Definition at line 52 of file boot_svc_header.h.