mbed TLS v1.3.16
Data Fields
hmac_drbg_context Struct Reference

HMAC_DRBG context. More...

#include <hmac_drbg.h>

Collaboration diagram for hmac_drbg_context:
Collaboration graph
[legend]

Data Fields

md_context_t md_ctx
 
unsigned char V [POLARSSL_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 73 of file hmac_drbg.h.

Field Documentation

size_t hmac_drbg_context::entropy_len

entropy bytes grabbed on each (re)seed

Definition at line 82 of file hmac_drbg.h.

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

entropy function

Definition at line 88 of file hmac_drbg.h.

md_context_t hmac_drbg_context::md_ctx

HMAC context (inc. K)

Definition at line 77 of file hmac_drbg.h.

void* hmac_drbg_context::p_entropy

context for the entropy function

Definition at line 89 of file hmac_drbg.h.

int hmac_drbg_context::prediction_resistance

enable prediction resistance (Automatic reseed before every random generation)

Definition at line 83 of file hmac_drbg.h.

int hmac_drbg_context::reseed_counter

reseed counter

Definition at line 79 of file hmac_drbg.h.

int hmac_drbg_context::reseed_interval

reseed interval

Definition at line 85 of file hmac_drbg.h.

unsigned char hmac_drbg_context::V[POLARSSL_MD_MAX_SIZE]

V in the spec

Definition at line 78 of file hmac_drbg.h.


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