nRF5 SDK for Thread and Zigbee v1.0.0
Choose documentation:
mbedtls_hmac_drbg_context Struct Reference

#include <hmac_drbg.h>

Data Fields

mbedtls_md_context_t md_ctx
 
unsigned char V [MBEDTLS_MD_MAX_SIZE]
 
int reseed_counter
 
size_t entropy_len
 
int prediction_resistance
 
int reseed_interval
 
int(* f_entropy )(void *, unsigned char *, size_t)
 
void * p_entropy
 

Detailed Description

HMAC_DRBG context.

Field Documentation

size_t mbedtls_hmac_drbg_context::entropy_len

entropy bytes grabbed on each (re)seed

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

entropy function

mbedtls_md_context_t mbedtls_hmac_drbg_context::md_ctx

HMAC context (inc. K)

void* mbedtls_hmac_drbg_context::p_entropy

context for the entropy function

int mbedtls_hmac_drbg_context::prediction_resistance

enable prediction resistance (Automatic reseed before every random generation)

int mbedtls_hmac_drbg_context::reseed_counter

reseed counter

int mbedtls_hmac_drbg_context::reseed_interval

reseed interval

unsigned char mbedtls_hmac_drbg_context::V[MBEDTLS_MD_MAX_SIZE]

V in the spec


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