Mbed OS Reference
Loading...
Searching...
No Matches
mbedtls_hmac_drbg_context Struct Reference

HMAC_DRBG context. More...

#include <hmac_drbg.h>

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
 

Detailed Description

HMAC_DRBG context.

Definition at line 92 of file hmac_drbg.h.

Field Documentation

◆ md_ctx

HMAC context (inc. K)

Definition at line 96 of file hmac_drbg.h.

◆ V

unsigned char V[MBEDTLS_MD_MAX_SIZE]

V in the spec

Definition at line 97 of file hmac_drbg.h.

◆ reseed_counter

int reseed_counter

reseed counter

Definition at line 98 of file hmac_drbg.h.

◆ entropy_len

size_t entropy_len

entropy bytes grabbed on each (re)seed

Definition at line 101 of file hmac_drbg.h.

◆ prediction_resistance

int prediction_resistance

enable prediction resistance (Automatic reseed before every random generation)

Definition at line 102 of file hmac_drbg.h.

◆ reseed_interval

int reseed_interval

reseed interval

Definition at line 104 of file hmac_drbg.h.

◆ f_entropy

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

entropy function

Definition at line 107 of file hmac_drbg.h.

◆ p_entropy

void* p_entropy

context for the entropy function

Definition at line 108 of file hmac_drbg.h.