ReactOS 0.4.16-dev-319-g6cf4263
mbedtls_hmac_drbg_context Struct Reference

#include <hmac_drbg.h>

Collaboration diagram for mbedtls_hmac_drbg_context:

Public Attributes

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)
 
voidp_entropy
 

Detailed Description

HMAC_DRBG context.

Definition at line 112 of file hmac_drbg.h.

Member Data Documentation

◆ entropy_len

size_t mbedtls_hmac_drbg_context::entropy_len

entropy bytes grabbed on each (re)seed

Definition at line 121 of file hmac_drbg.h.

◆ f_entropy

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

entropy function

Definition at line 127 of file hmac_drbg.h.

◆ md_ctx

mbedtls_md_context_t mbedtls_hmac_drbg_context::md_ctx

HMAC context (inc. K)

Definition at line 116 of file hmac_drbg.h.

◆ p_entropy

void* mbedtls_hmac_drbg_context::p_entropy

context for the entropy function

Definition at line 128 of file hmac_drbg.h.

◆ prediction_resistance

int mbedtls_hmac_drbg_context::prediction_resistance

enable prediction resistance (Automatic reseed before every random generation)

Definition at line 122 of file hmac_drbg.h.

◆ reseed_counter

int mbedtls_hmac_drbg_context::reseed_counter

reseed counter

Definition at line 118 of file hmac_drbg.h.

◆ reseed_interval

int mbedtls_hmac_drbg_context::reseed_interval

reseed interval

Definition at line 124 of file hmac_drbg.h.

◆ V

unsigned char mbedtls_hmac_drbg_context::V[MBEDTLS_MD_MAX_SIZE]

V in the spec

Definition at line 117 of file hmac_drbg.h.


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