/openthread-3.6.0/examples/apps/ncp/ |
D | ncp.c | 40 …oid otPlatUartReceived(const uint8_t *aBuf, uint16_t aBufLength) { otNcpHdlcReceive(aBuf, aBufLeng… in otPlatUartReceived() argument 47 static int NcpSend(const uint8_t *aBuf, uint16_t aBufLength) in NcpSend() argument 49 IgnoreError(otPlatUartSend(aBuf, aBufLength)); in NcpSend() 50 return aBufLength; in NcpSend()
|
/openthread-3.6.0/examples/apps/cli/ |
D | cli_uart.cpp | 132 static int Output(const char *aBuf, uint16_t aBufLength); 135 static void ReceiveTask(const uint8_t *aBuf, uint16_t aBufLength) in ReceiveTask() argument 142 end = aBuf + aBufLength; in ReceiveTask() 246 static int Output(const char *aBuf, uint16_t aBufLength) in Output() argument 251 while (aBufLength > 0) in Output() 255 uint16_t sendLength = aBufLength; in Output() 266 aBufLength--; in Output() 274 if (aBufLength > 0) in Output() 371 void otPlatUartReceived(const uint8_t *aBuf, uint16_t aBufLength) { ReceiveTask(aBuf, aBufLength); } in otPlatUartReceived() argument
|
/openthread-3.6.0/tests/fuzz/ |
D | ncp_hdlc_received.cpp | 46 static int HdlcSend(const uint8_t *aBuf, uint16_t aBufLength) in HdlcSend() argument 49 OT_UNUSED_VARIABLE(aBufLength); in HdlcSend() 51 return aBufLength; in HdlcSend()
|
/openthread-3.6.0/examples/platforms/utils/ |
D | uart.h | 84 otError otPlatUartSend(const uint8_t *aBuf, uint16_t aBufLength); 112 extern void otPlatUartReceived(const uint8_t *aBuf, uint16_t aBufLength);
|
D | uart_rtt.c | 88 otError otPlatUartSend(const uint8_t *aBuf, uint16_t aBufLength) in otPlatUartSend() argument 92 …otEXPECT_ACTION(SEGGER_RTT_Write(UART_RTT_BUFFER_INDEX, aBuf, aBufLength) != 0, error = OT_ERROR_F… in otPlatUartSend()
|
/openthread-3.6.0/examples/platforms/simulation/ |
D | spi-stubs.c | 76 void otPlatUartReceived(const uint8_t *aBuf, uint16_t aBufLength) in otPlatUartReceived() argument 79 OT_UNUSED_VARIABLE(aBufLength); in otPlatUartReceived()
|
D | uart.c | 160 otError otPlatUartSend(const uint8_t *aBuf, uint16_t aBufLength) in otPlatUartSend() argument 167 s_write_length = aBufLength; in otPlatUartSend()
|
D | platform-simulation.h | 159 void platformRadioReceive(otInstance *aInstance, uint8_t *aBuf, uint16_t aBufLength);
|
D | radio.c | 849 void platformRadioReceive(otInstance *aInstance, uint8_t *aBuf, uint16_t aBufLength) in platformRadioReceive() argument 851 assert(sizeof(sReceiveMessage) >= aBufLength); in platformRadioReceive() 853 memcpy(&sReceiveMessage, aBuf, aBufLength); in platformRadioReceive() 855 sReceiveFrame.mLength = (uint8_t)(aBufLength - 1); in platformRadioReceive()
|
/openthread-3.6.0/include/openthread/ |
D | ncp.h | 66 typedef int (*otNcpHdlcSendCallback)(const uint8_t *aBuf, uint16_t aBufLength); 81 void otNcpHdlcReceive(const uint8_t *aBuf, uint16_t aBufLength);
|
D | crypto.h | 73 void otCryptoHmacSha256(const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCrypto…
|
/openthread-3.6.0/src/ncp/ |
D | ncp_hdlc.cpp | 273 extern "C" void otNcpHdlcReceive(const uint8_t *aBuf, uint16_t aBufLength) in otNcpHdlcReceive() argument 279 ncpHdlc->HandleHdlcReceiveDone(aBuf, aBufLength); in otNcpHdlcReceive() 283 void NcpHdlc::HandleHdlcReceiveDone(const uint8_t *aBuf, uint16_t aBufLength) in HandleHdlcReceiveDone() argument 285 mFrameDecoder.Decode(aBuf, aBufLength); in HandleHdlcReceiveDone() 315 void NcpHdlc::HandleError(otError aError, uint8_t *aBuf, uint16_t aBufLength) in HandleError() argument 329 for (i = 0; (i < aBufLength) && (i < (sizeof(hexbuf) - 3) / 3); i++) in HandleError()
|
D | ncp_hdlc.hpp | 85 void HandleHdlcReceiveDone(const uint8_t *aBuf, uint16_t aBufLength); 133 void HandleError(otError aError, uint8_t *aBuf, uint16_t aBufLength);
|
D | example_vendor_hook.cpp | 132 static int SendHdlc(const uint8_t *aBuf, uint16_t aBufLength) in SendHdlc() argument 135 OT_UNUSED_VARIABLE(aBufLength); in SendHdlc()
|
D | ncp_base.hpp | 216 void HandleReceive(const uint8_t *aBuf, uint16_t aBufLength);
|
D | ncp_base.cpp | 392 void NcpBase::HandleReceive(const uint8_t *aBuf, uint16_t aBufLength) in HandleReceive() argument 401 mDecoder.Init(aBuf, aBufLength); in HandleReceive()
|
/openthread-3.6.0/src/core/crypto/ |
D | sha256.cpp | 54 void Sha256::Update(const void *aBuf, uint16_t aBufLength) in Update() argument 56 SuccessOrAssert(otPlatCryptoSha256Update(&mContext, aBuf, aBufLength)); in Update()
|
D | hmac_sha256.cpp | 54 void HmacSha256::Update(const void *aBuf, uint16_t aBufLength) in Update() argument 56 SuccessOrAssert(otPlatCryptoHmacSha256Update(&mContext, aBuf, aBufLength)); in Update()
|
D | hmac_sha256.hpp | 101 void Update(const void *aBuf, uint16_t aBufLength);
|
D | sha256.hpp | 114 void Update(const void *aBuf, uint16_t aBufLength);
|
D | crypto_platform.cpp | 202 …rror otPlatCryptoHmacSha256Update(otCryptoContext *aContext, const void *aBuf, uint16_t aBufLength) in otPlatCryptoHmacSha256Update() argument 211 …OrExit((mbedtls_md_hmac_update(context, reinterpret_cast<const uint8_t *>(aBuf), aBufLength) == 0), in otPlatCryptoHmacSha256Update() 218 …K otError otPlatCryptoHmacSha256Finish(otCryptoContext *aContext, uint8_t *aBuf, size_t aBufLength) in otPlatCryptoHmacSha256Finish() argument 220 OT_UNUSED_VARIABLE(aBufLength); in otPlatCryptoHmacSha256Finish() 403 … otError otPlatCryptoSha256Update(otCryptoContext *aContext, const void *aBuf, uint16_t aBufLength) in otPlatCryptoSha256Update() argument 414 …yOrExit((mbedtls_sha256_update(context, reinterpret_cast<const uint8_t *>(aBuf), aBufLength) == 0), in otPlatCryptoSha256Update() 417 …xit((mbedtls_sha256_update_ret(context, reinterpret_cast<const uint8_t *>(aBuf), aBufLength) == 0), in otPlatCryptoSha256Update()
|
/openthread-3.6.0/src/core/api/ |
D | crypto_api.cpp | 50 void otCryptoHmacSha256(const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCrypto… in otCryptoHmacSha256() argument 57 hmac.Update(aBuf, aBufLength); in otCryptoHmacSha256()
|
/openthread-3.6.0/include/openthread/platform/ |
D | crypto.h | 364 …ror otPlatCryptoHmacSha256Update(otCryptoContext *aContext, const void *aBuf, uint16_t aBufLength); 378 otError otPlatCryptoHmacSha256Finish(otCryptoContext *aContext, uint8_t *aBuf, size_t aBufLength); 550 otError otPlatCryptoSha256Update(otCryptoContext *aContext, const void *aBuf, uint16_t aBufLength);
|
/openthread-3.6.0/src/posix/platform/ |
D | platform-posix.h | 175 void platformRadioReceive(otInstance *aInstance, uint8_t *aBuf, uint16_t aBufLength);
|