mbedtls_ctr_drbg_context::counter is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesmbedTLSmbedtls_ctr_drbg_context::counter

mbedtls_ctr_drbg_context::counter field

The counter (V).

Syntax

unsigned char counter[16];

References

LocationReferrerText
ctr_drbg.h:128
unsigned char counter[16]; /*!< The counter (V). */
ctr_drbg.c:295ctr_drbg_update_internal()
if( ++ctx->counter[i - 1] != 0 )
ctr_drbg.c:301ctr_drbg_update_internal()
if( ( ret = mbedtls_aes_crypt_ecb( &ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, ctx->counter, p ) ) != 0 )
ctr_drbg.c:315ctr_drbg_update_internal()
ctr_drbg.c:493mbedtls_ctr_drbg_random_with_add()
if( ++ctx->counter[i - 1] != 0 )
ctr_drbg.c:499mbedtls_ctr_drbg_random_with_add()
if( ( ret = mbedtls_aes_crypt_ecb( &ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, ctx->counter, tmp ) ) != 0 )

Data Use

Functions reading mbedtls_ctr_drbg_context::counter
mbedtls_ctr_drbg_context::counter