ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
PC_CRYPTO_HOT::HmacWork Struct Reference

Public Attributes

uint8_t opad [64]
 one-shot opad block (persists inner->outer); else key-pad scratch
 
uint8_t ipad [64]
 ipad block; also key-pad scratch once its ipad is consumed
 
uint8_t inner_digest [PC_SHA256_DIGEST_LEN]
 H((K XOR ipad) || m)
 
pc_sha256_ctx hash
 transient hash: one-shot inner then outer; streaming final outer
 

Detailed Description

Definition at line 40 of file hmac_sha256.cpp.

Member Data Documentation

◆ opad

uint8_t PC_CRYPTO_HOT::HmacWork::opad[64]

one-shot opad block (persists inner->outer); else key-pad scratch

Definition at line 42 of file hmac_sha256.cpp.

◆ ipad

uint8_t PC_CRYPTO_HOT::HmacWork::ipad[64]

ipad block; also key-pad scratch once its ipad is consumed

Definition at line 43 of file hmac_sha256.cpp.

◆ inner_digest

uint8_t PC_CRYPTO_HOT::HmacWork::inner_digest[PC_SHA256_DIGEST_LEN]

H((K XOR ipad) || m)

Definition at line 44 of file hmac_sha256.cpp.

◆ hash

pc_sha256_ctx PC_CRYPTO_HOT::HmacWork::hash

transient hash: one-shot inner then outer; streaming final outer

Definition at line 45 of file hmac_sha256.cpp.


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