XdrbgContext Struct Reference

XDRBG PRNG context. More...

#include <xdrbg.h>

Data Fields

OsMutex mutex
 Mutex preventing simultaneous access to the PRNG state. More...
 
const XofAlgoxofAlgo
 XOF algorithm. More...
 
XofContext xofContext
 XOF context. More...
 
size_t securityStrength
 Security strength. More...
 
size_t maxOutputLen
 Maximum output length. More...
 
uint8_t v [XDRBG_MAX_V_SIZE]
 Internal state V. More...
 
uint64_t reseedCounter
 Reseed counter. More...
 

Detailed Description

XDRBG PRNG context.

Definition at line 59 of file xdrbg.h.

Field Documentation

◆ maxOutputLen

size_t maxOutputLen

Maximum output length.

Definition at line 65 of file xdrbg.h.

◆ mutex

OsMutex mutex

Mutex preventing simultaneous access to the PRNG state.

Definition at line 61 of file xdrbg.h.

◆ reseedCounter

uint64_t reseedCounter

Reseed counter.

Definition at line 67 of file xdrbg.h.

◆ securityStrength

size_t securityStrength

Security strength.

Definition at line 64 of file xdrbg.h.

◆ v

uint8_t v[XDRBG_MAX_V_SIZE]

Internal state V.

Definition at line 66 of file xdrbg.h.

◆ xofAlgo

const XofAlgo* xofAlgo

XOF algorithm.

Definition at line 62 of file xdrbg.h.

◆ xofContext

XofContext xofContext

XOF context.

Definition at line 63 of file xdrbg.h.


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