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

State information for a PHOTON-256 based PRNG. More...

#include <photon-beetle-prng.h>

Data Fields

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

Detailed Description

State information for a PHOTON-256 based PRNG.

Field Documentation

unsigned long long photon_beetle_prng_state_t::align

For alignment of this structure

size_t photon_beetle_prng_state_t::count

Number of bytes generated since last reseed

size_t photon_beetle_prng_state_t::limit

Limit on generated bytes before a reseed

struct { ... } photon_beetle_prng_state_t::s

State

unsigned char photon_beetle_prng_state_t::state[32]

Current PRNG state


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