mbedTLS
mbedtls_ctr_drbg_context::counter
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
mbedTLS
mbedtls_ctr_drbg_context::counter
mbedtls_ctr_drbg_context::counter field
The counter (V).
Syntax
from
ctr_drbg.h:128
unsigned
char
counter
[
16
]
;
References
Location
Referrer
Text
ctr_drbg.h:128
unsigned
char
counter
[
16
]
;
/*!< The counter (V). */
ctr_drbg.c:295
ctr_drbg_update_internal()
if
(
++
ctx
->
counter
[
i
-
1
]
!=
0
)
ctr_drbg.c:301
ctr_drbg_update_internal()
if
(
(
ret
=
mbedtls_aes_crypt_ecb
(
&
ctx
->
aes_ctx
,
MBEDTLS_AES_ENCRYPT
,
ctx
->
counter
,
p
)
)
!=
0
)
ctr_drbg.c:315
ctr_drbg_update_internal()
memcpy
(
ctx
->
counter
,
tmp
+
MBEDTLS_CTR_DRBG_KEYSIZE
,
MBEDTLS_CTR_DRBG_BLOCKSIZE
)
;
ctr_drbg.c:493
mbedtls_ctr_drbg_random_with_add()
if
(
++
ctx
->
counter
[
i
-
1
]
!=
0
)
ctr_drbg.c:499
mbedtls_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
ctr_drbg_update_internal()
mbedtls_ctr_drbg_random_with_add()
all items filtered out