mbed TLS  Version 2.4.1
SSL/TLS Library for the Embedded Space
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mbedtls_ctr_drbg_context Struct Reference

CTR_DRBG context structure. More...

Data Fields

unsigned char counter [16]
 
int reseed_counter
 
int prediction_resistance
 
size_t entropy_len
 
int reseed_interval
 
mbedtls_aes_context aes_ctx
 
int(* f_entropy )(void *, unsigned char *, size_t)
 
void * p_entropy
 

Description

CTR_DRBG context structure.

Field Documentation

AES context

unsigned char counter[16]

counter (V)

size_t entropy_len

amount of entropy grabbed on each (re)seed

void* p_entropy

context for the entropy function

int prediction_resistance

enable prediction resistance (Automatic reseed before every random generation)

int reseed_counter

reseed counter

int reseed_interval

reseed interval