mbedtls_ctr_drbg_context Struct Reference

The CTR_DRBG context structure. More...

#include <ctr_drbg.h>

Collaboration diagram for mbedtls_ctr_drbg_context:
Collaboration graph
[legend]

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

Detailed Description

The CTR_DRBG context structure.

Definition at line 172 of file ctr_drbg.h.


Field Documentation

The AES context.

Definition at line 184 of file ctr_drbg.h.

The counter (V).

Definition at line 174 of file ctr_drbg.h.

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

Definition at line 180 of file ctr_drbg.h.

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

The entropy callback function.

Definition at line 195 of file ctr_drbg.h.

The context for the entropy function.

Definition at line 192 of file ctr_drbg.h.

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

Definition at line 176 of file ctr_drbg.h.

The reseed counter.

Definition at line 175 of file ctr_drbg.h.

The reseed interval.

Definition at line 182 of file ctr_drbg.h.


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

Generated on 10 Aug 2020 for mbed TLS v2.7.16 by  doxygen 1.6.1