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

The counter (V).

int int mbedtls_ctr_drbg_context::private_reseed_counter private_reseed_counter mbedtls_ctr_drbg_context::private_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::private_prediction_resistance private_prediction_resistance mbedtls_ctr_drbg_context::private_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::private_entropy_len private_entropy_len mbedtls_ctr_drbg_context::private_entropy_len

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

int int mbedtls_ctr_drbg_context::private_reseed_interval private_reseed_interval mbedtls_ctr_drbg_context::private_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::private_aes_ctx private_aes_ctx mbedtls_ctr_drbg_context::private_aes_ctx

The AES context.

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

The entropy callback function.

void * void* mbedtls_ctr_drbg_context::private_p_entropy private_p_entropy mbedtls_ctr_drbg_context::private_p_entropy

The context for the entropy function.

mbedtls_threading_mutex_t mbedtls_threading_mutex_t mbedtls_ctr_drbg_context::private_mutex private_mutex mbedtls_ctr_drbg_context::private_mutex

The CTR_DRBG context structure.

mbedtls_aes_context
mbedtls_ctr_drbg_context
private_aes_ctx
private_mutex
mbedtls_threading_mutex_t
- mbedtls_ctr_drbg_context
  private_aes_ctx
- mbedtls_ctr_drbg_context
  private_counter
- mbedtls_ctr_drbg_context
  private_entropy_len
- mbedtls_ctr_drbg_context
  private_f_entropy
- mbedtls_ctr_drbg_context
  private_mutex
- mbedtls_ctr_drbg_context
  private_p_entropy
- mbedtls_ctr_drbg_context
  private_prediction_resistance
- mbedtls_ctr_drbg_context
  private_reseed_counter
- mbedtls_ctr_drbg_context
  private_reseed_interval