mbed TLS v2.7.6
|
The CTR_DRBG context structure. More...
#include <ctr_drbg.h>
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 |
mbedtls_threading_mutex_t | mutex |
The CTR_DRBG context structure.
Definition at line 106 of file ctr_drbg.h.
mbedtls_aes_context mbedtls_ctr_drbg_context::aes_ctx |
The AES context.
Definition at line 118 of file ctr_drbg.h.
unsigned char mbedtls_ctr_drbg_context::counter[16] |
The counter (V).
Definition at line 108 of file ctr_drbg.h.
size_t mbedtls_ctr_drbg_context::entropy_len |
The amount of entropy grabbed on each seed or reseed operation.
Definition at line 114 of file ctr_drbg.h.
int(* mbedtls_ctr_drbg_context::f_entropy) (void *, unsigned char *, size_t) |
The entropy callback function.
Definition at line 123 of file ctr_drbg.h.
mbedtls_threading_mutex_t mbedtls_ctr_drbg_context::mutex |
Definition at line 129 of file ctr_drbg.h.
void* mbedtls_ctr_drbg_context::p_entropy |
The context for the entropy function.
Definition at line 126 of file ctr_drbg.h.
int mbedtls_ctr_drbg_context::prediction_resistance |
This determines whether prediction resistance is enabled, that is whether to systematically reseed before each random generation.
Definition at line 110 of file ctr_drbg.h.
int mbedtls_ctr_drbg_context::reseed_counter |
The reseed counter.
Definition at line 109 of file ctr_drbg.h.
int mbedtls_ctr_drbg_context::reseed_interval |
The reseed interval.
Definition at line 116 of file ctr_drbg.h.