#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 |
mbedtls_threading_mutex_t | mutex |
HMAC_DRBG context.
Definition at line 114 of file hmac_drbg.h.
entropy bytes grabbed on each (re)seed
Definition at line 123 of file hmac_drbg.h.
int(* mbedtls_hmac_drbg_context::f_entropy)(void *, unsigned char *, size_t) |
entropy function
HMAC context (inc. K)
Definition at line 118 of file hmac_drbg.h.
Definition at line 133 of file hmac_drbg.h.
context for the entropy function
Definition at line 130 of file hmac_drbg.h.
enable prediction resistance (Automatic reseed before every random generation)
Definition at line 124 of file hmac_drbg.h.
reseed counter
Definition at line 120 of file hmac_drbg.h.
reseed interval
Definition at line 126 of file hmac_drbg.h.
unsigned char mbedtls_hmac_drbg_context::V[MBEDTLS_MD_MAX_SIZE] |
V in the spec
Definition at line 119 of file hmac_drbg.h.