Home
last modified time | relevance | path

Searched refs:kHeaderLength (Results 1 – 1 of 1) sorted by relevance

/openthread-latest/tests/unit/
Dtest_aes.cpp105 static constexpr uint32_t kHeaderLength = 29; in TestMacCommandFrame() local
134 aesCcm.Init(kHeaderLength, kPayloadLength, kTagLength, nonce, sizeof(nonce)); in TestMacCommandFrame()
135 aesCcm.Header(test, kHeaderLength); in TestMacCommandFrame()
136 …aesCcm.Payload(test + kHeaderLength, test + kHeaderLength, kPayloadLength, Crypto::AesCcm::kEncryp… in TestMacCommandFrame()
138 aesCcm.Finalize(test + kHeaderLength + kPayloadLength); in TestMacCommandFrame()
141 aesCcm.Init(kHeaderLength, kPayloadLength, kTagLength, nonce, sizeof(nonce)); in TestMacCommandFrame()
142 aesCcm.Header(test, kHeaderLength); in TestMacCommandFrame()
143 …aesCcm.Payload(test + kHeaderLength, test + kHeaderLength, kPayloadLength, Crypto::AesCcm::kDecryp… in TestMacCommandFrame()
145 aesCcm.Finalize(test + kHeaderLength + kPayloadLength); in TestMacCommandFrame()
154 SuccessOrQuit(message->AppendBytes(test, kHeaderLength + kPayloadLength)); in TestMacCommandFrame()
[all …]