Example program to test AES-GCM functionality. Used for a workshop

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

ctr_drbg_context Struct Reference

ctr_drbg_context Struct Reference

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
aes_context aes_ctx
void * p_entropy

Detailed Description

CTR_DRBG context structure.

Definition at line 90 of file ctr_drbg.h.


Field Documentation

AES context

Definition at line 100 of file ctr_drbg.h.

unsigned char counter[16]

counter (V)

Definition at line 92 of file ctr_drbg.h.

size_t entropy_len

amount of entropy grabbed on each (re)seed

Definition at line 96 of file ctr_drbg.h.

void* p_entropy

context for the entropy function

Definition at line 107 of file ctr_drbg.h.

enable prediction resistance (Automatic reseed before every random generation)

Definition at line 94 of file ctr_drbg.h.

reseed counter

Definition at line 93 of file ctr_drbg.h.

reseed interval

Definition at line 98 of file ctr_drbg.h.