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

State information for a Grain-128 based PRNG. More...

#include <grain-prng.h>

Data Fields

struct {
   unsigned char   state [32]
 
   size_t   rekeys
 
   size_t   count
 
   size_t   limit
 
s
 
unsigned long long align
 

Detailed Description

State information for a Grain-128 based PRNG.

Field Documentation

unsigned long long grain_prng_state_t::align

For alignment of this structure

size_t grain_prng_state_t::count

Number of bytes generated since last reseed

size_t grain_prng_state_t::limit

Limit on generated bytes before a reseed

size_t grain_prng_state_t::rekeys

Number of rekey operations that have been done

struct { ... } grain_prng_state_t::s

State

unsigned char grain_prng_state_t::state[32]

Current PRNG state


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