Home
last modified time | relevance | path

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

/openthread-latest/src/core/crypto/
Daes_ccm.cpp66 uint8_t blockLength = 0; in Init() local
130 mBlock[blockLength++] ^= aHeaderLength >> 8; in Init()
131 mBlock[blockLength++] ^= aHeaderLength >> 0; in Init()
135 mBlock[blockLength++] ^= 0xff; in Init()
136 mBlock[blockLength++] ^= 0xfe; 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()
154 mBlockLength = blockLength; in Init()
/openthread-latest/src/core/net/
Ddns_dso.cpp625 uint16_t blockLength; in AppendPadding() local
634blockLength = kBlockLengths[Random::NonCrypto::GetUint8InRange(0, GetArrayLength(kBlockLengths))]; in AppendPadding()
636 …paddingTlv.Init((blockLength - ((aMessage.GetLength() + sizeof(Tlv)) % blockLength)) % blockLength in AppendPadding()