Mbed OS 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 |
HMAC_DRBG context.
Definition at line 92 of file hmac_drbg.h.
mbedtls_md_context_t md_ctx |
HMAC context (inc. K)
Definition at line 96 of file hmac_drbg.h.
unsigned char V[MBEDTLS_MD_MAX_SIZE] |
V in the spec
Definition at line 97 of file hmac_drbg.h.
int reseed_counter |
reseed counter
Definition at line 98 of file hmac_drbg.h.
size_t entropy_len |
entropy bytes grabbed on each (re)seed
Definition at line 101 of file hmac_drbg.h.
int prediction_resistance |
enable prediction resistance (Automatic reseed before every random generation)
Definition at line 102 of file hmac_drbg.h.
int reseed_interval |
reseed interval
Definition at line 104 of file hmac_drbg.h.
int(* f_entropy) (void *, unsigned char *, size_t) |
entropy function
Definition at line 107 of file hmac_drbg.h.
void* p_entropy |
context for the entropy function
Definition at line 108 of file hmac_drbg.h.