XenevaOS
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
mbedtls_ctr_drbg_context Struct Reference

The CTR_DRBG context structure. More...

#include <ctr_drbg.h>

Public Member Functions

unsigned char MBEDTLS_PRIVATE (counter)[16]
 
int MBEDTLS_PRIVATE (reseed_counter)
 
int MBEDTLS_PRIVATE (prediction_resistance)
 
size_t MBEDTLS_PRIVATE (entropy_len)
 
int MBEDTLS_PRIVATE (reseed_interval)
 
mbedtls_ctr_drbg_psa_context MBEDTLS_PRIVATE (psa_ctx)
 
void * MBEDTLS_PRIVATE (p_entropy)
 

Public Attributes

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

Detailed Description

The CTR_DRBG context structure.

Member Function Documentation

◆ MBEDTLS_PRIVATE() [1/7]

unsigned char mbedtls_ctr_drbg_context::MBEDTLS_PRIVATE ( counter  )

The counter (V).

◆ MBEDTLS_PRIVATE() [2/7]

size_t mbedtls_ctr_drbg_context::MBEDTLS_PRIVATE ( entropy_len  )

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

◆ MBEDTLS_PRIVATE() [3/7]

void * mbedtls_ctr_drbg_context::MBEDTLS_PRIVATE ( p_entropy  )

The context for the entropy function.

◆ MBEDTLS_PRIVATE() [4/7]

int mbedtls_ctr_drbg_context::MBEDTLS_PRIVATE ( prediction_resistance  )

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

◆ MBEDTLS_PRIVATE() [5/7]

mbedtls_ctr_drbg_psa_context mbedtls_ctr_drbg_context::MBEDTLS_PRIVATE ( psa_ctx  )

The PSA context.

◆ MBEDTLS_PRIVATE() [6/7]

int mbedtls_ctr_drbg_context::MBEDTLS_PRIVATE ( reseed_counter  )

The reseed counter. This is the number of requests that have been made since the last (re)seeding, minus one. Before the initial seeding, this field contains the amount of entropy in bytes to use as a nonce for the initial seeding, or -1 if no nonce length has been explicitly set (see mbedtls_ctr_drbg_set_nonce_len()).

◆ MBEDTLS_PRIVATE() [7/7]

int mbedtls_ctr_drbg_context::MBEDTLS_PRIVATE ( reseed_interval  )

The reseed interval. This is the maximum number of requests that can be made between reseedings.

Member Data Documentation

◆ MBEDTLS_PRIVATE

int(*)(void *, unsigned char *, size_t) mbedtls_ctr_drbg_context::MBEDTLS_PRIVATE(f_entropy)

The entropy callback function.


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