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

State information for ASCON-HASH and ASCON-XOF incremental modes. More...

#include <ascon128.h>

Data Fields

struct {
   unsigned char   state [40]
 
   unsigned char   count
 
   unsigned char   mode
 
s
 
unsigned long long align
 

Detailed Description

State information for ASCON-HASH and ASCON-XOF incremental modes.

Field Documentation

unsigned long long ascon_hash_state_t::align

For alignment of this structure

unsigned char ascon_hash_state_t::count

Number of bytes in the current block

unsigned char ascon_hash_state_t::mode

Hash mode: 0 for absorb, 1 for squeeze

struct { ... } ascon_hash_state_t::s

State

unsigned char ascon_hash_state_t::state[40]

Current hash state


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