SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
psa_xof_operation_s Struct Reference

#include <crypto.h>

Data Fields

SharkSslKeccak sponge
 Embedded provider sponge; no heap allocation. More...
 
uint8_t state
 Internal input/output lifecycle state. More...
 

Detailed Description

Opaque extendable-output function (XOF) state owned by the caller.

Initialize with PSA_XOF_OPERATION_INIT or psa_xof_operation_init(). Do not inspect or modify members. Input and output buffers must not overlap this object. Finish with psa_xof_abort() to clear it before reuse or release.

Field Documentation

◆ sponge

SharkSslKeccak psa_xof_operation_s::sponge

Embedded provider sponge; no heap allocation.

◆ state

uint8_t psa_xof_operation_s::state

Internal input/output lifecycle state.