ESP-IDF
ot::Crypto::LiteralKey
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Crypto::LiteralKey
ot::Crypto::LiteralKey class
Represents a literal key derived from a `Key`.
Syntax
Show:
Summary
Declaration
from
storage.hpp:284
class
LiteralKey
:
public
Clearable
<
LiteralKey
>
,
private
NonCopyable
{
public
:
static
constexpr
uint16_t
kMaxSize
=
32
;
explicit
LiteralKey
(
const
Key
&
aKey
)
;
const
uint8_t
*
GetBytes
(
void
)
const
{
return
mKey
;
}
uint16_t
GetLength
(
void
)
const
{
return
mLength
;
}
private
:
const
uint8_t
*
mKey
;
uint16_t
mLength
;
#if
OPENTHREAD_CONFIG_PLATFORM_KEY_REFERENCES_ENABLE
uint8_t
mBuffer
[
kMaxSize
]
;
#endif
}
;
Fields
Field
Declared as
ot::Crypto::LiteralKey::kMaxSize
ot::Crypto::LiteralKey::mKey
const
uint8_t
*
ot::Crypto::LiteralKey::mLength
uint16_t
Methods
GetBytes() const
GetLength() const
Gets the key length.
Examples
References
from
examples
Code
Location
Scope
Referrer
class
LiteralKey
:
public
Clearable
<
LiteralKey
>
,
private
NonCopyable
storage.hpp:284
const
LiteralKey
key
(
*
static_cast
<
const
Key
*
>
(
aKey
)
)
;
crypto_platform.cpp:107
otPlatCryptoAesSetKey()
const
LiteralKey
key
(
*
static_cast
<
const
Key
*
>
(
aKey
)
)
;
crypto_platform.cpp:189
otPlatCryptoHmacSha256Start()
const
LiteralKey
inputKey
(
*
static_cast
<
const
Key
*
>
(
aInputKey
)
)
;
crypto_platform.cpp:317
otPlatCryptoHkdfExtract()
LiteralKey
::
LiteralKey
(
const
Key
&
aKey
)
storage.cpp:71
ot::Crypto::LiteralKey::LiteralKey()
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
ot::Crypto::LiteralKey
is inherited by 1 classes:
All items filtered out
ot::Crypto::LiteralKey
ot::NonCopyable
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