YarrowContext Struct Reference

Yarrow PRNG context. More...

#include <yarrow.h>

Data Fields

OsMutex mutex
 Mutex preventing simultaneous access to the PRNG state. More...
 
bool_t ready
 This flag tells whether the PRNG has been properly seeded. More...
 
uint_t currentPool [YARROW_N]
 TCurrent pool identifier. More...
 
Sha256Context fastPool
 TFast pool. More...
 
size_t fastPoolEntropy [YARROW_N]
 TEntropy estimation (fast pool) More...
 
Sha256Context slowPool
 TSlow pool. More...
 
size_t slowPoolEntropy [YARROW_N]
 TEntropy estimation (slow pool) More...
 
AesContext cipherContext
 TCipher context. More...
 
uint8_t key [32]
 TCurrent key. More...
 
uint8_t counter [16]
 TCounter block. More...
 
size_t blockCount
 TNumber of blocks that have been generated. More...
 

Detailed Description

Yarrow PRNG context.

Definition at line 63 of file yarrow.h.

Field Documentation

◆ blockCount

size_t blockCount

TNumber of blocks that have been generated.

Definition at line 75 of file yarrow.h.

◆ cipherContext

AesContext cipherContext

TCipher context.

Definition at line 72 of file yarrow.h.

◆ counter

uint8_t counter[16]

TCounter block.

Definition at line 74 of file yarrow.h.

◆ currentPool

uint_t currentPool[YARROW_N]

TCurrent pool identifier.

Definition at line 67 of file yarrow.h.

◆ fastPool

Sha256Context fastPool

TFast pool.

Definition at line 68 of file yarrow.h.

◆ fastPoolEntropy

size_t fastPoolEntropy[YARROW_N]

TEntropy estimation (fast pool)

Definition at line 69 of file yarrow.h.

◆ key

uint8_t key[32]

TCurrent key.

Definition at line 73 of file yarrow.h.

◆ mutex

OsMutex mutex

Mutex preventing simultaneous access to the PRNG state.

Definition at line 65 of file yarrow.h.

◆ ready

bool_t ready

This flag tells whether the PRNG has been properly seeded.

Definition at line 66 of file yarrow.h.

◆ slowPool

Sha256Context slowPool

TSlow pool.

Definition at line 70 of file yarrow.h.

◆ slowPoolEntropy

size_t slowPoolEntropy[YARROW_N]

TEntropy estimation (slow pool)

Definition at line 71 of file yarrow.h.


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