Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

mbedtls_ctr_drbg_context Struct Reference

mbedtls_ctr_drbg_context Struct Reference

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

Detailed Description

The CTR_DRBG context structure.

Definition at line 169 of file ctr_drbg.h.


Field Documentation

The AES context.

Definition at line 181 of file ctr_drbg.h.

unsigned char counter[16]

The counter (V).

Definition at line 171 of file ctr_drbg.h.

size_t entropy_len

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

Definition at line 177 of file ctr_drbg.h.

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

The entropy callback function.

Definition at line 186 of file ctr_drbg.h.

void* p_entropy

The context for the entropy function.

Definition at line 189 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 173 of file ctr_drbg.h.

The reseed counter.

Definition at line 172 of file ctr_drbg.h.

The reseed interval.

Definition at line 179 of file ctr_drbg.h.