Lightweight Cryptography Primitives
 All Data Structures Files Functions Variables Typedefs Macros Pages
Data Fields
saturnin_hash_state_t Union Reference

State information for SATURNIN-Hash incremental modes. More...

#include <saturnin.h>

Data Fields

struct {
   unsigned char   hash [32]
 
   unsigned char   block [32]
 
   unsigned char   count
 
   unsigned char   mode
 
s
 
unsigned long long align
 

Detailed Description

State information for SATURNIN-Hash incremental modes.

Field Documentation

unsigned long long saturnin_hash_state_t::align

For alignment of this structure

unsigned char saturnin_hash_state_t::block[32]

Left-over block data from last update

unsigned char saturnin_hash_state_t::count

Number of bytes in the current block

unsigned char saturnin_hash_state_t::hash[32]

Current hash state

unsigned char saturnin_hash_state_t::mode

Hash mode: 0 for absorb, 1 for squeeze

struct { ... } saturnin_hash_state_t::s

State


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