Home
last modified time | relevance | path

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

/openthread-latest/src/core/crypto/
Daes_ccm.cpp59 void AesCcm::Init(uint32_t aHeaderLength, in Init() argument
106 …mBlock[0] = (static_cast<uint8_t>((aHeaderLength != 0) << 6) | static_cast<uint8_t>(((aTagLength -… in Init()
125 if (aHeaderLength > 0) in Init()
128 if (aHeaderLength < (65536U - 256U)) in Init()
130 mBlock[blockLength++] ^= aHeaderLength >> 8; in Init()
131 mBlock[blockLength++] ^= aHeaderLength >> 0; in Init()
137 mBlock[blockLength++] ^= aHeaderLength >> 24; in Init()
138 mBlock[blockLength++] ^= aHeaderLength >> 16; in Init()
139 mBlock[blockLength++] ^= aHeaderLength >> 8; in Init()
140 mBlock[blockLength++] ^= aHeaderLength >> 0; in Init()
[all …]
Daes_ccm.hpp108 void Init(uint32_t aHeaderLength,
120 void Header(const void *aHeader, uint32_t aHeaderLength);
/openthread-latest/src/core/api/
Dcrypto_api.cpp60 uint32_t aHeaderLength, in otCryptoAesCcm() argument
75 aesCcm.Init(aHeaderLength, aLength, aTagLength, aNonce, aNonceLength); in otCryptoAesCcm()
77 if (aHeaderLength != 0) in otCryptoAesCcm()
80 aesCcm.Header(aHeader, aHeaderLength); in otCryptoAesCcm()
/openthread-latest/src/core/thread/
Dlowpan.hpp318 Error ParseFrom(const uint8_t *aFrame, uint16_t aFrameLength, uint16_t &aHeaderLength);
355 Error ParseFrom(const Message &aMessage, uint16_t &aHeaderLength);
537 Error ParseFrom(const Message &aMessage, uint16_t aOffset, uint16_t &aHeaderLength);
576 Error ParseFrom(const uint8_t *aFrame, uint16_t aFrameLength, uint16_t &aHeaderLength);
Dlowpan.cpp1097 Error MeshHeader::ParseFrom(const uint8_t *aFrame, uint16_t aFrameLength, uint16_t &aHeaderLength) in ParseFrom() argument
1113 aHeaderLength = kDeepHopsHeaderLength; in ParseFrom()
1117 aHeaderLength = kMinHeaderLength; in ParseFrom()
1136 Error MeshHeader::ParseFrom(const Message &aMessage, uint16_t &aHeaderLength) in ParseFrom() argument
1143 return ParseFrom(frame, frameLength, aHeaderLength); in ParseFrom()
1218 …or FragmentHeader::ParseFrom(const uint8_t *aFrame, uint16_t aFrameLength, uint16_t &aHeaderLength) in ParseFrom() argument
1231 aHeaderLength = sizeof(NextFrag); in ParseFrom()
1236 aHeaderLength = sizeof(FirstFrag); in ParseFrom()
1245 Error FragmentHeader::ParseFrom(const Message &aMessage, uint16_t aOffset, uint16_t &aHeaderLength) in ParseFrom() argument
1252 return ParseFrom(frame, frameLength, aHeaderLength); in ParseFrom()
/openthread-latest/include/openthread/
Dcrypto.h95 uint32_t aHeaderLength,