Searched refs:keyId (Results 1 – 10 of 10) sorted by relevance
| /openthread-latest/examples/platforms/utils/ |
| D | mac_frame.cpp | 239 uint8_t keyId = 0; in otMacFrameGetKeyId() local 241 IgnoreError(static_cast<const Mac::Frame *>(aFrame)->GetKeyId(keyId)); in otMacFrameGetKeyId() 243 return keyId; in otMacFrameGetKeyId() 317 uint8_t keyId; in otMacFrameProcessTransmitSecurity() local 331 keyId = otMacFrameGetKeyId(aFrame); in otMacFrameProcessTransmitSecurity() 333 VerifyOrExit(keyId != 0, error = OT_ERROR_FAILED); in otMacFrameProcessTransmitSecurity() 335 if (keyId == aRadioContext->mKeyId) in otMacFrameProcessTransmitSecurity() 340 else if (keyId == aRadioContext->mKeyId - 1) in otMacFrameProcessTransmitSecurity() 345 else if (keyId == aRadioContext->mKeyId + 1) in otMacFrameProcessTransmitSecurity() 358 keyId = aRadioContext->mKeyId; in otMacFrameProcessTransmitSecurity() [all …]
|
| /openthread-latest/src/core/mac/ |
| D | data_poll_handler.cpp | 239 uint8_t keyId; in HandleSentFrame() local 244 SuccessOrAssert(aFrame.GetKeyId(keyId)); in HandleSentFrame() 245 aChild.SetIndirectKeyId(keyId); in HandleSentFrame()
|
| D | sub_mac.cpp | 633 uint8_t keyId; in SignalFrameCounterUsedOnTxDone() local 658 VerifyOrExit(aFrame.GetKeyId(keyId) == kErrorNone, OT_ASSERT(allowError)); in SignalFrameCounterUsedOnTxDone() 660 SignalFrameCounterUsed(frameCounter, keyId); in SignalFrameCounterUsedOnTxDone()
|
| D | mac_frame.cpp | 1453 uint8_t keyId; in GenerateEnhAck() local 1455 SuccessOrExit(error = aRxFrame.GetKeyId(keyId)); in GenerateEnhAck() 1456 SetKeyId(keyId); in GenerateEnhAck()
|
| /openthread-latest/src/core/thread/ |
| D | csl_tx_scheduler.cpp | 294 uint8_t keyId; in HandleSentFrame() local 299 IgnoreError(aFrame.GetKeyId(keyId)); in HandleSentFrame() 300 aCslNeighbor.SetIndirectKeyId(keyId); in HandleSentFrame()
|
| /openthread-latest/src/ncp/ |
| D | ncp_base_radio.cpp | 195 uint8_t keyId; in LinkRawTransmitDone() local 199 SuccessOrExit(static_cast<Mac::TxFrame *>(aFrame)->GetKeyId(keyId)); in LinkRawTransmitDone() 202 SuccessOrExit(mEncoder.WriteUint8(keyId)); in LinkRawTransmitDone() 544 uint8_t keyId; in HandlePropertySet() local 553 SuccessOrExit(error = mDecoder.ReadUint8(keyId)); in HandlePropertySet() 565 otLinkRawSetMacKey(mInstance, keyIdMode, keyId, reinterpret_cast<const otMacKey *>(prevKey), in HandlePropertySet()
|
| /openthread-latest/src/lib/spinel/ |
| D | logger.cpp | 559 uint8_t keyId; in LogSpinelFrame() local 570 … &keyIdMode, &keyId, prevKey.m8, &prevKeyLen, currKey.m8, &currKeyLen, in LogSpinelFrame() 574 … ", keyIdMode:%u, keyId:%u, prevKey:***, currKey:***, nextKey:***", keyIdMode, keyId); in LogSpinelFrame()
|
| D | radio_spinel.cpp | 1589 uint8_t keyId; in HandleTransmitDone() local 1593 … spinel_datatype_unpack(aBuffer, aLength, SPINEL_DATATYPE_UINT8_S SPINEL_DATATYPE_UINT32_S, &keyId, in HandleTransmitDone() 1596 static_cast<Mac::TxFrame *>(mTransmitFrame)->SetKeyId(keyId); in HandleTransmitDone()
|
| /openthread-latest/third_party/mbedtls/repo/tests/suites/ |
| D | test_suite_x509parse.function | 1674 data_t *keyId, 1689 if (keyId->len > 0) { 1691 TEST_EQUAL(memcmp(crt.authority_key_id.keyIdentifier.p, keyId->x, keyId->len), 0); 1692 TEST_EQUAL(crt.authority_key_id.keyIdentifier.len, keyId->len);
|
| /openthread-latest/src/posix/platform/ |
| D | rcp_caps_diag.cpp | 253 static constexpr uint8_t keyId = 100; in HandleSpinelCommand() local 261 return mRadioSpinel.SetMacKey(keyIdMode1, keyId, &prevKey, &curKey, &nextKey); in HandleSpinelCommand()
|