Home
last modified time | relevance | path

Searched refs:kBlockSize (Results 1 – 5 of 5) sorted by relevance

/openthread-latest/src/core/crypto/
Daes_ecb.hpp60 static constexpr uint8_t kBlockSize = 16; ///< AES-128 block size (bytes). member in ot::Crypto::AesEcb
85 void Encrypt(const uint8_t aInput[kBlockSize], uint8_t aOutput[kBlockSize]);
Daes_ccm.hpp65 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];
Daes_ecb.cpp50 void AesEcb::Encrypt(const uint8_t aInput[kBlockSize], uint8_t aOutput[kBlockSize]) in Encrypt() argument
Dcrypto_platform.cpp676 const size_t kBlockSize = MBEDTLS_CMAC_MAX_BLOCK_SIZE; in otPlatCryptoPbkdf2GenerateKey() local
678 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 …]
/openthread-latest/src/posix/platform/
Dsettings_file.cpp328 const size_t kBlockSize = 512; in SwapWrite() local
329 uint8_t buffer[kBlockSize]; in SwapWrite()