Home
last modified time | relevance | path

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

/openthread-latest/src/core/crypto/
Daes_ccm.cpp106mBlock[0] = (static_cast<uint8_t>((aHeaderLength != 0) << 6) | static_cast<uint8_t>(((aTagLength -… in Init()
110 memcpy(&mBlock[1], nonceBytes, aNonceLength); in Init()
115 for (i = sizeof(mBlock) - 1; i > aNonceLength; i--) in Init()
117 mBlock[i] = len & 0xff; in Init()
122 mEcb.Encrypt(mBlock, mBlock); in Init()
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()
[all …]
Daes_ccm.hpp189 uint8_t mBlock[AesEcb::kBlockSize]; member in ot::Crypto::AesCcm