mbedtls_ctr_drbg_context
ctr_drbg.h
unsigned char unsigned char mbedtls_ctr_drbg_context::counter[16] [16] counter mbedtls_ctr_drbg_context::counter

The counter (V).

int int mbedtls_ctr_drbg_context::reseed_counter reseed_counter mbedtls_ctr_drbg_context::reseed_counter

The reseed counter. This is the number of requests that have been made since the last (re)seeding, minus one. Before the initial seeding, this field contains the amount of entropy in bytes to use as a nonce for the initial seeding, or -1 if no nonce length has been explicitly set (see mbedtls_ctr_drbg_set_nonce_len()).

int int mbedtls_ctr_drbg_context::prediction_resistance prediction_resistance mbedtls_ctr_drbg_context::prediction_resistance

This determines whether prediction resistance is enabled, that is whether to systematically reseed before each random generation.

size_t size_t mbedtls_ctr_drbg_context::entropy_len entropy_len mbedtls_ctr_drbg_context::entropy_len

The amount of entropy grabbed on each seed or reseed operation, in bytes.

int int mbedtls_ctr_drbg_context::reseed_interval reseed_interval mbedtls_ctr_drbg_context::reseed_interval

The reseed interval. This is the maximum number of requests that can be made between reseedings.

mbedtls_aes_context mbedtls_aes_context mbedtls_ctr_drbg_context::aes_ctx aes_ctx mbedtls_ctr_drbg_context::aes_ctx

The AES context.

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

The entropy callback function.

void * void* mbedtls_ctr_drbg_context::p_entropy p_entropy mbedtls_ctr_drbg_context::p_entropy

The context for the entropy function.

mbedtls_threading_mutex_t mbedtls_threading_mutex_t mbedtls_ctr_drbg_context::mutex mutex mbedtls_ctr_drbg_context::mutex

The CTR_DRBG context structure.

mbedtls_aes_context
mbedtls_ctr_drbg_context
aes_ctx
mutex
mbedtls_threading_mutex_t
- mbedtls_ctr_drbg_context
  aes_ctx
- mbedtls_ctr_drbg_context
  counter
- mbedtls_ctr_drbg_context
  entropy_len
- mbedtls_ctr_drbg_context
  f_entropy
- mbedtls_ctr_drbg_context
  mutex
- mbedtls_ctr_drbg_context
  p_entropy
- mbedtls_ctr_drbg_context
  prediction_resistance
- mbedtls_ctr_drbg_context
  reseed_counter
- mbedtls_ctr_drbg_context
  reseed_interval