Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbedtls_ctr_drbg_context Struct Reference
The 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 |
| mbedtls_aes_context | aes_ctx |
| int(* | f_entropy )(void *, unsigned char *, size_t) |
| void * | p_entropy |
Detailed Description
The CTR_DRBG context structure.
Definition at line 111 of file ctr_drbg.h.
Field Documentation
The AES context.
Definition at line 123 of file ctr_drbg.h.
| unsigned char counter[16] |
The counter (V).
Definition at line 113 of file ctr_drbg.h.
| size_t entropy_len |
The amount of entropy grabbed on each seed or reseed operation.
Definition at line 119 of file ctr_drbg.h.
| int(* f_entropy)(void *, unsigned char *, size_t) |
The entropy callback function.
Definition at line 128 of file ctr_drbg.h.
| void* p_entropy |
The context for the entropy function.
Definition at line 131 of file ctr_drbg.h.
This determines whether prediction resistance is enabled, that is whether to systematically reseed before each random generation.
Definition at line 115 of file ctr_drbg.h.
| int reseed_counter |
The reseed counter.
Definition at line 114 of file ctr_drbg.h.
| int reseed_interval |
The reseed interval.
Definition at line 121 of file ctr_drbg.h.
Generated on Tue Aug 9 2022 00:37:34 by
1.7.2