5.11.0.0R3
Software Development Kit
 
Loading...
Searching...
No Matches
mbedtls_ctr_drbg_context Struct Reference

The CTR_DRBG context structure. More...

#include <ctr_drbg.h>

Data Fields

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

Detailed Description

The CTR_DRBG context structure.

Field Documentation

◆ aes_ctx

mbedtls_aes_context mbedtls_ctr_drbg_context::aes_ctx

The AES context.

◆ counter

unsigned char mbedtls_ctr_drbg_context::counter[16]

The counter (V).

◆ entropy_len

size_t mbedtls_ctr_drbg_context::entropy_len

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

◆ f_entropy

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

The entropy callback function.

◆ p_entropy

void* mbedtls_ctr_drbg_context::p_entropy

The context for the entropy function.

◆ prediction_resistance

int mbedtls_ctr_drbg_context::prediction_resistance

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

◆ reseed_counter

int mbedtls_ctr_drbg_context::reseed_counter

The reseed counter.

◆ reseed_interval

int mbedtls_ctr_drbg_context::reseed_interval

The reseed interval.


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