mbedTLS
MBEDTLS_CTR_DRBG_KEYSIZE
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
ESP-IDF Framework and Examples
mbedTLS
MBEDTLS_CTR_DRBG_KEYSIZE
MBEDTLS_CTR_DRBG_KEYSIZE macro
The key size in bytes used by the cipher. Compile-time choice: 32 bytes (256 bits) because \c MBEDTLS_CTR_DRBG_USE_128_BIT_KEY is disabled.
Syntax
Show:
Summary
Declaration
from
ctr_drbg.h:83
#define
MBEDTLS_CTR_DRBG_KEYSIZE
32
Examples
References
from
examples
Code
Location
#define
MBEDTLS_CTR_DRBG_KEYSIZE
32
ctr_drbg.h:83
unsigned
char
key
[
MBEDTLS_CTR_DRBG_KEYSIZE
]
;
ctr_drbg.c:167
for
(
i
=
0
;
i
<
MBEDTLS_CTR_DRBG_KEYSIZE
;
i
++
)
{
ctr_drbg.c:208
iv
=
tmp
+
MBEDTLS_CTR_DRBG_KEYSIZE
;
ctr_drbg.c:281
memcpy
(
ctx
->
counter
,
tmp
+
MBEDTLS_CTR_DRBG_KEYSIZE
,
ctr_drbg.c:391
if
(
entropy_len
>=
MBEDTLS_CTR_DRBG_KEYSIZE
*
3
/
2
)
{
ctr_drbg.c:517
unsigned
char
key
[
MBEDTLS_CTR_DRBG_KEYSIZE
]
;
ctr_drbg.c:542
memset
(
key
,
0
,
MBEDTLS_CTR_DRBG_KEYSIZE
)
;
ctr_drbg.c:545
mbedtls_ctr_drbg_set_entropy_len
(
&
ctx
,
MBEDTLS_CTR_DRBG_KEYSIZE
)
;
ctr_drbg.c:964
mbedtls_ctr_drbg_set_nonce_len
(
&
ctx
,
MBEDTLS_CTR_DRBG_KEYSIZE
/
2
)
;
ctr_drbg.c:965
pers_pr
,
MBEDTLS_CTR_DRBG_KEYSIZE
)
)
;
ctr_drbg.c:969
mbedtls_ctr_drbg_set_entropy_len
(
&
ctx
,
MBEDTLS_CTR_DRBG_KEYSIZE
)
;
ctr_drbg.c:991
mbedtls_ctr_drbg_set_nonce_len
(
&
ctx
,
MBEDTLS_CTR_DRBG_KEYSIZE
/
2
)
;
ctr_drbg.c:992
pers_nopr
,
MBEDTLS_CTR_DRBG_KEYSIZE
)
)
;
ctr_drbg.c:996
#define
MBEDTLS_CTR_DRBG_KEYBITS
(
MBEDTLS_CTR_DRBG_KEYSIZE
*
8
)
/**< The key size for the DRBG operation, in bits. */
ctr_drbg.h:91
#define
MBEDTLS_CTR_DRBG_SEEDLEN
(
MBEDTLS_CTR_DRBG_KEYSIZE
+
MBEDTLS_CTR_DRBG_BLOCKSIZE
)
/**< The seed length, calculated as (counter + AES key). */
ctr_drbg.h:92
#if
MBEDTLS_CTR_DRBG_ENTROPY_LEN
>=
MBEDTLS_CTR_DRBG_KEYSIZE
*
3
/
2
ctr_drbg.h:157
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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