PolarSSL v1.1.4
Data Fields
ctr_drbg_context Struct Reference

CTR_DRBG context structure. More...

#include <ctr_drbg.h>

Collaboration diagram for 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
aes_context aes_ctx
int(* f_entropy )(void *, unsigned char *, size_t)
void * p_entropy

Detailed Description

CTR_DRBG context structure.

Definition at line 60 of file ctr_drbg.h.


Field Documentation

AES context

Definition at line 69 of file ctr_drbg.h.

unsigned char ctr_drbg_context::counter[16]

counter (V)

Definition at line 62 of file ctr_drbg.h.

amount of entropy grabbed on each (re)seed

Definition at line 66 of file ctr_drbg.h.

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

Definition at line 74 of file ctr_drbg.h.

context for the entropy function

Definition at line 76 of file ctr_drbg.h.

enable prediction resistance (Automatic reseed before every random generation)

Definition at line 64 of file ctr_drbg.h.

reseed counter

Definition at line 63 of file ctr_drbg.h.

reseed interval

Definition at line 67 of file ctr_drbg.h.


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