Home
last modified time | relevance | path

Searched refs:keyLen (Results 1 – 3 of 3) sorted by relevance

/openthread-3.4.0/src/core/meshcop/
Ddataset_local.cpp274 size_t keyLen; in EmplaceSecurelyStoredKeys() local
282 error = ExportKey(networkKeyRef, networkKey.m8, NetworkKey::kSize, keyLen); in EmplaceSecurelyStoredKeys()
291 OT_ASSERT(keyLen == NetworkKey::kSize); in EmplaceSecurelyStoredKeys()
301 error = ExportKey(pskcRef, pskc.m8, Pskc::kSize, keyLen); in EmplaceSecurelyStoredKeys()
310 OT_ASSERT(keyLen == Pskc::kSize); in EmplaceSecurelyStoredKeys()
/openthread-3.4.0/src/core/thread/
Dkey_manager.cpp521 size_t keyLen; in GetNetworkKey() local
523 …essOrAssert(Crypto::Storage::ExportKey(mNetworkKeyRef, aNetworkKey.m8, NetworkKey::kSize, keyLen)); in GetNetworkKey()
524 OT_ASSERT(keyLen == NetworkKey::kSize); in GetNetworkKey()
540 size_t keyLen; in GetPskc() local
542 SuccessOrAssert(Crypto::Storage::ExportKey(mPskcRef, aPskc.m8, Pskc::kSize, keyLen)); in GetPskc()
543 OT_ASSERT(keyLen == Pskc::kSize); in GetPskc()
/openthread-3.4.0/src/core/crypto/
Dcrypto_platform.cpp734 uint16_t keyLen = aKeyLen; in otPlatCryptoPbkdf2GenerateKey() local
747 while (keyLen) in otPlatCryptoPbkdf2GenerateKey()
783 useLen = Min(keyLen, static_cast<uint16_t>(kBlockSize)); in otPlatCryptoPbkdf2GenerateKey()
786 keyLen -= useLen; in otPlatCryptoPbkdf2GenerateKey()