ESP-IDF
ot::Mac::TxFrame::SetAesKey()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Mac::TxFrame::SetAesKey()
ot::Mac::TxFrame::SetAesKey() method
Sets the key used for frame encryption and authentication (AES CCM).
Syntax
Show:
Summary
Declaration
from
mac_frame.hpp:1191
void
SetAesKey
(
const
Mac
::
KeyMaterial
&
aAesKey
)
;
Arguments
Argument
Description
aAesKey
The pointer to the key.
Related Functions
Found 4 other functions taking a
KeyMaterial
argument:
Function
Description
ot::Mac::RxFrame::ProcessReceiveAesCcm()
Performs AES CCM on the frame which is received.
ot::Radio::SetMacKey()
Sets MAC key and key ID.
ot::Mac::SubMac::SetMacKey()
Sets MAC keys and key index.
ot::Mac::KeyMaterial::operator() const
Overloads operator `==` to evaluate whether or not two `KeyMaterial` instances are equal.
Examples
References
from
examples
Code
Location
Scope
Referrer
void
SetAesKey
(
const
Mac
::
KeyMaterial
&
aAesKey
)
{
mInfo
.
mTxInfo
.
mAesKey
=
&
aAesKey
;
}
mac_frame.hpp:1191
aFrame
.
SetAesKey
(
keyManager
.
GetKek
(
)
)
;
mac.cpp:858
ot::Mac::Mac
ot::Mac::Mac::ProcessTransmitSecurity()
mTransmitFrame
.
SetAesKey
(
GetCurrentMacKey
(
)
)
;
sub_mac.cpp:370
ot::Mac::SubMac
ot::Mac::SubMac::ProcessTransmitSecurity()
Call Tree
from
examples
ot::Mac::TxFrame::SetAesKey()
is called by 2 functions:
ot::Mac::Mac::ProcessTransmitSecurity()
ot::Mac::SubMac::ProcessTransmitSecurity()
All items filtered out
ot::Mac::TxFrame::SetAesKey()
All items filtered out
Data Use
from
examples
ot::Mac::TxFrame::SetAesKey()
reads 3 variables:
otRadioFrame::
::
::mAesKey
otRadioFrame::
::mTxInfo
otRadioFrame::mInfo
All items filtered out
ot::Mac::TxFrame::SetAesKey()
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