Home
last modified time | relevance | path

Searched refs:aBufLength (Results 1 – 24 of 24) sorted by relevance

/openthread-3.6.0/examples/apps/ncp/
Dncp.c40 …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/
Dcli_uart.cpp132 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/
Dncp_hdlc_received.cpp46 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/
Duart.h84 otError otPlatUartSend(const uint8_t *aBuf, uint16_t aBufLength);
112 extern void otPlatUartReceived(const uint8_t *aBuf, uint16_t aBufLength);
Duart_rtt.c88 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/
Dspi-stubs.c76 void otPlatUartReceived(const uint8_t *aBuf, uint16_t aBufLength) in otPlatUartReceived() argument
79 OT_UNUSED_VARIABLE(aBufLength); in otPlatUartReceived()
Duart.c160 otError otPlatUartSend(const uint8_t *aBuf, uint16_t aBufLength) in otPlatUartSend() argument
167 s_write_length = aBufLength; in otPlatUartSend()
Dplatform-simulation.h159 void platformRadioReceive(otInstance *aInstance, uint8_t *aBuf, uint16_t aBufLength);
Dradio.c849 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/
Dncp.h66 typedef int (*otNcpHdlcSendCallback)(const uint8_t *aBuf, uint16_t aBufLength);
81 void otNcpHdlcReceive(const uint8_t *aBuf, uint16_t aBufLength);
Dcrypto.h73 void otCryptoHmacSha256(const otCryptoKey *aKey, const uint8_t *aBuf, uint16_t aBufLength, otCrypto…
/openthread-3.6.0/src/ncp/
Dncp_hdlc.cpp273 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()
Dncp_hdlc.hpp85 void HandleHdlcReceiveDone(const uint8_t *aBuf, uint16_t aBufLength);
133 void HandleError(otError aError, uint8_t *aBuf, uint16_t aBufLength);
Dexample_vendor_hook.cpp132 static int SendHdlc(const uint8_t *aBuf, uint16_t aBufLength) in SendHdlc() argument
135 OT_UNUSED_VARIABLE(aBufLength); in SendHdlc()
Dncp_base.hpp216 void HandleReceive(const uint8_t *aBuf, uint16_t aBufLength);
Dncp_base.cpp392 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/
Dsha256.cpp54 void Sha256::Update(const void *aBuf, uint16_t aBufLength) in Update() argument
56 SuccessOrAssert(otPlatCryptoSha256Update(&mContext, aBuf, aBufLength)); in Update()
Dhmac_sha256.cpp54 void HmacSha256::Update(const void *aBuf, uint16_t aBufLength) in Update() argument
56 SuccessOrAssert(otPlatCryptoHmacSha256Update(&mContext, aBuf, aBufLength)); in Update()
Dhmac_sha256.hpp101 void Update(const void *aBuf, uint16_t aBufLength);
Dsha256.hpp114 void Update(const void *aBuf, uint16_t aBufLength);
Dcrypto_platform.cpp202 …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/
Dcrypto_api.cpp50 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/
Dcrypto.h364 …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/
Dplatform-posix.h175 void platformRadioReceive(otInstance *aInstance, uint8_t *aBuf, uint16_t aBufLength);