mbedTLS + 0/6 examples
CodeScope will show references to mbedtls_ctr_drbg_context from the following samples and libraries:
Examples
STM32469I_EVAL
Applications
mbedTLS
STM324x9I_EVAL
Applications
mbedTLS
STM324xG_EVAL
Applications
mbedTLS
 
Symbols
loading...
Files
loading...

mbedtls_ctr_drbg_context struct

The CTR_DRBG context structure.

Syntax

typedef struct mbedtls_ctr_drbg_context {     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;             #if defined(MBEDTLS_THREADING_C)     mbedtls_threading_mutex_t mutex; #endif } mbedtls_ctr_drbg_context;

Fields

counter

The counter (V). Read more...

reseed_counter

The reseed counter. Read more...

prediction_resistance

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

entropy_len

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

reseed_interval

The reseed interval. Read more...

aes_ctx

The AES context. Read more...

f_entropy

The entropy callback function. Read more...

p_entropy

The context for the entropy function. Read more...

Examples

mbedtls_ctr_drbg_context is referenced by 6 libraries and example projects.

References

LocationReferrerScopeText
ctr_drbg.h:126
typedef struct mbedtls_ctr_drbg_context
ctr_drbg.h:152
ctr_drbg.c:56mbedtls_ctr_drbg_init()::ctxmbedtls_ctr_drbg_init()
ctr_drbg.c:58mbedtls_ctr_drbg_init()
memset( ctx, 0, sizeof( mbedtls_ctr_drbg_context ) );
ctr_drbg.c:82mbedtls_ctr_drbg_seed_entropy_len()::ctxmbedtls_ctr_drbg_seed_entropy_len()
ctr_drbg.c:117mbedtls_ctr_drbg_seed()::ctxmbedtls_ctr_drbg_seed()
ctr_drbg.c:127mbedtls_ctr_drbg_free()::ctxmbedtls_ctr_drbg_free()
ctr_drbg.c:136mbedtls_ctr_drbg_free()
ctr_drbg.c:139mbedtls_ctr_drbg_set_prediction_resistance()::ctxmbedtls_ctr_drbg_set_prediction_resistance()
ctr_drbg.c:144mbedtls_ctr_drbg_set_entropy_len()::ctxmbedtls_ctr_drbg_set_entropy_len()
ctr_drbg.c:149mbedtls_ctr_drbg_set_reseed_interval()::ctxmbedtls_ctr_drbg_set_reseed_interval()
ctr_drbg.c:279ctr_drbg_update_internal()::ctxctr_drbg_update_internal()
ctr_drbg.c:334mbedtls_ctr_drbg_update_ret()::ctxmbedtls_ctr_drbg_update_ret()
ctr_drbg.c:355mbedtls_ctr_drbg_update()::ctxmbedtls_ctr_drbg_update()
ctr_drbg.c:379mbedtls_ctr_drbg_reseed()::ctxmbedtls_ctr_drbg_reseed()
ctr_drbg.c:454mbedtls_ctr_drbg_random_with_add()::ctxmbedtls_ctr_drbg_random_with_add()
ctr_drbg.c:526mbedtls_ctr_drbg_random()::ctxmbedtls_ctr_drbg_random()
ctr_drbg.h:152mbedtls_ctr_drbg_context
ctr_drbg.h:161mbedtls_ctr_drbg_init()::ctxmbedtls_ctr_drbg_init()
ctr_drbg.h:182mbedtls_ctr_drbg_seed()::ctxmbedtls_ctr_drbg_seed()
ctr_drbg.h:193mbedtls_ctr_drbg_free()::ctxmbedtls_ctr_drbg_free()
ctr_drbg.h:207mbedtls_ctr_drbg_set_prediction_resistance()::ctxmbedtls_ctr_drbg_set_prediction_resistance()
ctr_drbg.h:218mbedtls_ctr_drbg_set_entropy_len()::ctxmbedtls_ctr_drbg_set_entropy_len()
ctr_drbg.h:228mbedtls_ctr_drbg_set_reseed_interval()::ctxmbedtls_ctr_drbg_set_reseed_interval()
ctr_drbg.h:242mbedtls_ctr_drbg_reseed()::ctxmbedtls_ctr_drbg_reseed()
ctr_drbg.h:259mbedtls_ctr_drbg_update_ret()::ctxmbedtls_ctr_drbg_update_ret()
ctr_drbg.h:324mbedtls_ctr_drbg_update()::ctxmbedtls_ctr_drbg_update()
ctr_drbg.h:372mbedtls_ctr_drbg_seed_entropy_len()::#0mbedtls_ctr_drbg_seed_entropy_len()