11. CMOX_SPONGE

11.1. Sponge macros

group CMOX_SPONGE_MACROS

Defines

CMOX_SHA3_STATE_SIZE

Keccak-P 1600 state size in bytes

11.2. Sponge module public types

group CMOX_SPONGE_PUBLIC_TYPES
struct cmox_sponge_handle_t
#include <cmox_sponge.h>

Structure for Keccak-P 1600 sponge.

Public Members

uint8_t state [ CMOX_SHA3_STATE_SIZE ]

Internal state for Keccak P-1600

uint32_t rate

Rate

uint32_t byteIOIndex

Index for the IO bytes

uint32_t squeezing

flag identifying if the operation is a squeezing