ESP-IDF
ot::Crypto::Key::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::Key::GetLength() const
ot::Crypto::Key::GetLength() const method
Gets the key length (number of bytes). If `OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE` is enabled and `IsKeyRef()` returns `true`, then this method returns zero.
Syntax
Show:
Summary
Declaration
from
storage.hpp:233
uint16_t
GetLength
(
void
)
const
;
Return value
The key length (number of bytes in the byte array from `GetBytes()`), or zero if `Key` represents a `keyRef`.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetLength
(
void
)
const
{
return
mKeyLength
;
}
storage.hpp:233
,
mLength
(
aKey
.
GetLength
(
)
)
storage.cpp:73
ot::Crypto::LiteralKey
ot::Crypto::LiteralKey::LiteralKey()
Call Tree
from
examples
ot::Crypto::Key::GetLength() const
is called by 1 function:
ot::Crypto::LiteralKey::LiteralKey()
All items filtered out
ot::Crypto::Key::GetLength() const
All items filtered out
Data Use
from
examples
ot::Crypto::Key::GetLength() const
reads 1 variable:
otCryptoKey::mKeyLength
All items filtered out
ot::Crypto::Key::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