mbedTLS
mbedtls_ctr_drbg_context::counter
is only used within mbedTLS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
mbedTLS
mbedtls_ctr_drbg_context::counter
mbedtls_ctr_drbg_context::counter field
The counter (V).
Syntax
Show:
Summary
Declaration
from
ctr_drbg.h:128
unsigned
char
counter
[
16
]
;
Examples
References
from
examples
Code
Location
Referrer
unsigned
char
counter
[
16
]
;
/*!< The counter (V). */
ctr_drbg.h:128
if
(
++
ctx
->
counter
[
i
-
1
]
!=
0
)
ctr_drbg.c:295
ctr_drbg_update_internal()
if
(
(
ret
=
mbedtls_aes_crypt_ecb
(
&
ctx
->
aes_ctx
,
MBEDTLS_AES_ENCRYPT
,
ctx
->
counter
,
p
)
)
!=
0
)
ctr_drbg.c:301
ctr_drbg_update_internal()
memcpy
(
ctx
->
counter
,
tmp
+
MBEDTLS_CTR_DRBG_KEYSIZE
,
MBEDTLS_CTR_DRBG_BLOCKSIZE
)
;
ctr_drbg.c:315
ctr_drbg_update_internal()
if
(
++
ctx
->
counter
[
i
-
1
]
!=
0
)
ctr_drbg.c:493
mbedtls_ctr_drbg_random_with_add()
if
(
(
ret
=
mbedtls_aes_crypt_ecb
(
&
ctx
->
aes_ctx
,
MBEDTLS_AES_ENCRYPT
,
ctx
->
counter
,
tmp
)
)
!=
0
)
ctr_drbg.c:499
mbedtls_ctr_drbg_random_with_add()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mbedtls_ctr_drbg_context::counter
is read by 2 functions:
All items filtered out
mbedtls_ctr_drbg_context::counter
ctr_drbg_update_internal()
mbedtls_ctr_drbg_random_with_add()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out