mbed TLS  Version 2.1.2
SSl/TLS Library for the Embedded Space
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mbedtls_hmac_drbg_context Struct Reference

HMAC_DRBG context. More...

Data Fields

mbedtls_md_context_t md_ctx
 
unsigned char V [MBEDTLS_MD_MAX_SIZE]
 
int reseed_counter
 
size_t entropy_len
 
int prediction_resistance
 
int reseed_interval
 
int(* f_entropy )(void *, unsigned char *, size_t)
 
void * p_entropy
 

Description

HMAC_DRBG context.

Field Documentation

size_t entropy_len

entropy bytes grabbed on each (re)seed

int(* f_entropy)(void *, unsigned char *, size_t)

entropy function

HMAC context (inc. K)

void* p_entropy

context for the entropy function

int prediction_resistance

enable prediction resistance (Automatic reseed before every random generation)

int reseed_counter

reseed counter

int reseed_interval

reseed interval

unsigned char V[MBEDTLS_MD_MAX_SIZE]

V in the spec