Searched refs:tagLength (Results 1 – 2 of 2) sorted by relevance
/openthread-latest/tests/unit/ |
D | test_aes.cpp | 64 uint8_t tagLength = 8; in TestMacBeaconFrame() local 73 aesCcm.Init(headerLength, payloadLength, tagLength, nonce, sizeof(nonce)); in TestMacBeaconFrame() 75 VerifyOrQuit(aesCcm.GetTagLength() == tagLength); in TestMacBeaconFrame() 80 aesCcm.Init(headerLength, payloadLength, tagLength, nonce, sizeof(nonce)); in TestMacBeaconFrame() 82 VerifyOrQuit(aesCcm.GetTagLength() == tagLength); in TestMacBeaconFrame()
|
/openthread-latest/src/core/mac/ |
D | mac_frame.cpp | 1398 uint8_t tagLength; in ProcessTransmitAesCcm() 1409 tagLength = GetFooterLength() - GetFcsSize(); in ProcessTransmitAesCcm() 1411 aesCcm.Init(GetHeaderLength(), GetPayloadLength(), tagLength, nonce, sizeof(nonce)); in ProcessTransmitAesCcm() 1534 uint8_t tagLength; in ProcessReceiveAesCcm() 1545 tagLength = GetFooterLength() - GetFcsSize(); in ProcessReceiveAesCcm() 1547 aesCcm.Init(GetHeaderLength(), GetPayloadLength(), tagLength, nonce, sizeof(nonce)); in ProcessReceiveAesCcm() 1559 VerifyOrExit(memcmp(tag, GetFooter(), tagLength) == 0); in ProcessReceiveAesCcm()
|