ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
pc_hmac_sha512_ctx Struct Reference

Streaming HMAC-SHA2-512 context (stores the opad key block + inner hash state). More...

#include <hmac_sha512.h>

Public Attributes

uint8_t okey [PC_SHA512_BLOCK_LEN]
 (key XOR opad), applied in the final step
 
pc_sha512_ctx inner
 inner hash: H((key XOR ipad) || message)
 

Detailed Description

Streaming HMAC-SHA2-512 context (stores the opad key block + inner hash state).

Definition at line 28 of file hmac_sha512.h.

Member Data Documentation

◆ okey

uint8_t pc_hmac_sha512_ctx::okey[PC_SHA512_BLOCK_LEN]

(key XOR opad), applied in the final step

Definition at line 30 of file hmac_sha512.h.

Referenced by pc_hmac_sha512_final(), and pc_hmac_sha512_init().

◆ inner

pc_sha512_ctx pc_hmac_sha512_ctx::inner

inner hash: H((key XOR ipad) || message)

Definition at line 31 of file hmac_sha512.h.

Referenced by pc_hmac_sha512_final(), pc_hmac_sha512_init(), and pc_hmac_sha512_update().


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