Searched refs:kBlockSize (Results 1 – 5 of 5) sorted by relevance
60 static constexpr uint8_t kBlockSize = 16; ///< AES-128 block size (bytes). member in ot::Crypto::AesEcb85 void Encrypt(const uint8_t aInput[kBlockSize], uint8_t aOutput[kBlockSize]);
65 static constexpr uint8_t kMaxTagLength = AesEcb::kBlockSize; ///< Maximum tag length (in bytes).189 uint8_t mBlock[AesEcb::kBlockSize];190 uint8_t mCtr[AesEcb::kBlockSize];191 uint8_t mCtrPad[AesEcb::kBlockSize];
50 void AesEcb::Encrypt(const uint8_t aInput[kBlockSize], uint8_t aOutput[kBlockSize]) in Encrypt() argument
676 const size_t kBlockSize = MBEDTLS_CMAC_MAX_BLOCK_SIZE; in otPlatCryptoPbkdf2GenerateKey() local678 const size_t kBlockSize = MBEDTLS_CIPHER_BLKSIZE_MAX; in otPlatCryptoPbkdf2GenerateKey()681 long prfOne[kBlockSize / sizeof(long)]; in otPlatCryptoPbkdf2GenerateKey()682 long prfTwo[kBlockSize / sizeof(long)]; in otPlatCryptoPbkdf2GenerateKey()683 long keyBlock[kBlockSize / sizeof(long)]; in otPlatCryptoPbkdf2GenerateKey()715 …_aes_cmac_prf_128(aPassword, aPasswordLen, reinterpret_cast<const uint8_t *>(keyBlock), kBlockSize, in otPlatCryptoPbkdf2GenerateKey()719 for (uint32_t j = 0; j < kBlockSize / sizeof(long); ++j) in otPlatCryptoPbkdf2GenerateKey()728 kBlockSize, reinterpret_cast<uint8_t *>(prfTwo)); in otPlatCryptoPbkdf2GenerateKey()732 kBlockSize, reinterpret_cast<uint8_t *>(prfOne)); in otPlatCryptoPbkdf2GenerateKey()735 for (uint32_t j = 0; j < kBlockSize / sizeof(long); ++j) in otPlatCryptoPbkdf2GenerateKey()[all …]
328 const size_t kBlockSize = 512; in SwapWrite() local329 uint8_t buffer[kBlockSize]; in SwapWrite()