Digi XBee(R) ANSI C Host Library
Data Fields
mbedtls_ctr_drbg_context Struct Reference

The CTR_DRBG context structure. More...

#include "mbedtls/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.

Field Documentation

The AES context.

unsigned char counter[16]

The counter (V).

size_t entropy_len

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

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

The entropy callback function.

void* p_entropy

The context for the entropy function.

int prediction_resistance

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

int reseed_counter

The reseed counter.

int reseed_interval

The reseed interval.


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