Home
last modified time | relevance | path

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

/openthread-latest/src/ncp/
Dncp_base_radio.cpp545 uint16_t keySize; in HandlePropertySet() local
555 SuccessOrExit(error = mDecoder.ReadDataWithLen(prevKey, keySize)); in HandlePropertySet()
556 VerifyOrExit(keySize == sizeof(otMacKey), error = OT_ERROR_INVALID_ARGS); in HandlePropertySet()
558 SuccessOrExit(error = mDecoder.ReadDataWithLen(currKey, keySize)); in HandlePropertySet()
559 VerifyOrExit(keySize == sizeof(otMacKey), error = OT_ERROR_INVALID_ARGS); in HandlePropertySet()
561 SuccessOrExit(error = mDecoder.ReadDataWithLen(nextKey, keySize)); in HandlePropertySet()
562 VerifyOrExit(keySize == sizeof(otMacKey), error = OT_ERROR_INVALID_ARGS); in HandlePropertySet()
/openthread-latest/src/core/mac/
Dmac_types.cpp352 size_t keySize; in ExtractKey() local
354 SuccessOrAssert(Crypto::Storage::ExportKey(GetKeyRef(), aKey.m8, Key::kSize, keySize)); in ExtractKey()
/openthread-latest/src/lib/spinel/
Dradio_spinel.cpp865 size_t keySize; in ReadMacKey() local
866 … error = otPlatCryptoExportKey(aKeyMaterial.mKeyMaterial.mKeyRef, aKey.m8, sizeof(aKey), &keySize); in ReadMacKey()
869 VerifyOrExit(keySize == sizeof(otMacKey), error = OT_ERROR_FAILED); in ReadMacKey()