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

Streaming state for incremental HMAC-SHA-256. More...

#include <ra8_rsip_core.h>

Collaboration diagram for ra8_rsip_hmac_sha256_ctx_t:

Data Fields

ra8_rsip_sha256_ctx_t inner
 Running inner-hash state.
uint8_t key_block [k_ra8_rsip_sha256_block]
 Prepared 64-byte key block.
uint8_t initialized
 1 = ready, 0 = unset.

Detailed Description

Streaming state for incremental HMAC-SHA-256.

Implements HMAC-SHA-256 (RFC 2104) on top of the streaming SHA-256 primitive. The inner SHA is built incrementally; the outer SHA is issued at final().

Since
0.1.0

Definition at line 490 of file ra8_rsip_core.h.

Field Documentation

◆ initialized

uint8_t ra8_rsip_hmac_sha256_ctx_t::initialized

1 = ready, 0 = unset.

Definition at line 493 of file ra8_rsip_core.h.

Referenced by ra8_rsip_hmac_sha256_final(), ra8_rsip_hmac_sha256_init(), and ra8_rsip_hmac_sha256_update().

◆ inner

ra8_rsip_sha256_ctx_t ra8_rsip_hmac_sha256_ctx_t::inner

Running inner-hash state.

Definition at line 491 of file ra8_rsip_core.h.

Referenced by ra8_rsip_hmac_sha256_final(), ra8_rsip_hmac_sha256_init(), and ra8_rsip_hmac_sha256_update().

◆ key_block

uint8_t ra8_rsip_hmac_sha256_ctx_t::key_block[k_ra8_rsip_sha256_block]

Prepared 64-byte key block.

Definition at line 492 of file ra8_rsip_core.h.

Referenced by ra8_rsip_hmac_sha256_final(), and ra8_rsip_hmac_sha256_init().


The documentation for this struct was generated from the following file: