ESP-IDF
ot::Crypto::LiteralKey::GetLength() const
is only used within ESP-IDF.
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
ESP-IDF
ot::Crypto::LiteralKey::GetLength() const
ot::Crypto::LiteralKey::GetLength() const method
Gets the key length.
Syntax
Show:
Summary
Declaration
from
storage.hpp:311
uint16_t
GetLength
(
void
)
const
;
Return value
The key length (number of bytes in the byte array from `GetBytes()`).
Examples
References
from
examples
Code
Location
Referrer
uint16_t
GetLength
(
void
)
const
{
return
mLength
;
}
storage.hpp:311
VerifyOrExit
(
(
mbedtls_aes_setkey_enc
(
context
,
key
.
GetBytes
(
)
,
(
key
.
GetLength
(
)
*
kBitsPerByte
)
)
==
0
)
,
crypto_platform.cpp:113
otPlatCryptoAesSetKey()
VerifyOrExit
(
(
mbedtls_md_hmac_starts
(
context
,
key
.
GetBytes
(
)
,
key
.
GetLength
(
)
)
==
0
)
,
error
=
kErrorFailed
)
;
crypto_platform.cpp:196
otPlatCryptoHmacSha256Start()
hmac
.
Update
(
inputKey
.
GetBytes
(
)
,
inputKey
.
GetLength
(
)
)
;
crypto_platform.cpp:327
otPlatCryptoHkdfExtract()
Call Tree
from
examples
ot::Crypto::LiteralKey::GetLength() const
is called by 3 functions:
otPlatCryptoAesSetKey()
otPlatCryptoHmacSha256Start()
otPlatCryptoHkdfExtract()
All items filtered out
ot::Crypto::LiteralKey::GetLength() const
All items filtered out
Data Use
from
examples
ot::Crypto::LiteralKey::GetLength() const
reads 1 variable:
ot::Crypto::LiteralKey::mLength
All items filtered out
ot::Crypto::LiteralKey::GetLength() const
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