Software APIs
Data Fields
spx_ctx Struct Reference

Context object for the SPHINCS+ operation. More...

#include <sw/device/silicon_creator/lib/sigverify/sphincsplus/context.h>

Data Fields

uint32_t pub_seed [kSpxNWords]
 Public key seed.
 
hmac_context_t state_seeded
 SHA256 state that absorbed pub_seed and padding.
 

Detailed Description

Context object for the SPHINCS+ operation.

The reference implementation stores sk_seed here as well, but we only performing verification so we don't need it.

Definition at line 26 of file context.h.

Field Documentation

◆ pub_seed

uint32_t spx_ctx::pub_seed[kSpxNWords]

Public key seed.

Definition at line 30 of file context.h.

◆ state_seeded

hmac_context_t spx_ctx::state_seeded

SHA256 state that absorbed pub_seed and padding.

Definition at line 34 of file context.h.