/openthread-latest/src/core/crypto/ |
D | sha256.cpp | 45 mContext.mContext = mContextStorage; in Sha256() 46 mContext.mContextSize = sizeof(mContextStorage); in Sha256() 47 SuccessOrAssert(otPlatCryptoSha256Init(&mContext)); in Sha256() 50 Sha256::~Sha256(void) { SuccessOrAssert(otPlatCryptoSha256Deinit(&mContext)); } in ~Sha256() 52 void Sha256::Start(void) { SuccessOrAssert(otPlatCryptoSha256Start(&mContext)); } in Start() 56 SuccessOrAssert(otPlatCryptoSha256Update(&mContext, aBuf, aBufLength)); in Update() 72 void Sha256::Finish(Hash &aHash) { SuccessOrAssert(otPlatCryptoSha256Finish(&mContext, aHash.m8, Ha… in Finish()
|
D | hmac_sha256.cpp | 44 mContext.mContext = mContextStorage; in HmacSha256() 45 mContext.mContextSize = sizeof(mContextStorage); in HmacSha256() 47 SuccessOrAssert(otPlatCryptoHmacSha256Init(&mContext)); in HmacSha256() 50 HmacSha256::~HmacSha256(void) { SuccessOrAssert(otPlatCryptoHmacSha256Deinit(&mContext)); } in ~HmacSha256() 52 void HmacSha256::Start(const Key &aKey) { SuccessOrAssert(otPlatCryptoHmacSha256Start(&mContext, &a… in Start() 56 SuccessOrAssert(otPlatCryptoHmacSha256Update(&mContext, aBuf, aBufLength)); in Update() 61 SuccessOrAssert(otPlatCryptoHmacSha256Finish(&mContext, aHash.m8, Hash::kSize)); in Finish()
|
D | aes_ecb.cpp | 43 mContext.mContext = mContextStorage; in AesEcb() 44 mContext.mContextSize = sizeof(mContextStorage); in AesEcb() 45 SuccessOrAssert(otPlatCryptoAesInit(&mContext)); in AesEcb() 48 void AesEcb::SetKey(const Key &aKey) { SuccessOrAssert(otPlatCryptoAesSetKey(&mContext, &aKey)); } in SetKey() 52 SuccessOrAssert(otPlatCryptoAesEncrypt(&mContext, aInput, aOutput)); in Encrypt() 55 AesEcb::~AesEcb(void) { SuccessOrAssert(otPlatCryptoAesFree(&mContext)); } in ~AesEcb()
|
D | hkdf_sha256.cpp | 48 mContext.mContext = mContextStorage; in HkdfSha256() 49 mContext.mContextSize = sizeof(mContextStorage); in HkdfSha256() 50 SuccessOrAssert(otPlatCryptoHkdfInit(&mContext)); in HkdfSha256() 53 HkdfSha256::~HkdfSha256(void) { SuccessOrAssert(otPlatCryptoHkdfDeinit(&mContext)); } in ~HkdfSha256() 57 SuccessOrAssert(otPlatCryptoHkdfExtract(&mContext, aSalt, aSaltLength, &aInputKey)); in Extract() 62 …SuccessOrAssert(otPlatCryptoHkdfExpand(&mContext, aInfo, aInfoLength, aOutputKey, aOutputKeyLength… in Expand()
|
D | crypto_platform.cpp | 96 context = static_cast<mbedtls_aes_context *>(aContext->mContext); in otPlatCryptoAesInit() 112 context = static_cast<mbedtls_aes_context *>(aContext->mContext); in otPlatCryptoAesSetKey() 128 context = static_cast<mbedtls_aes_context *>(aContext->mContext); in otPlatCryptoAesEncrypt() 143 context = static_cast<mbedtls_aes_context *>(aContext->mContext); in otPlatCryptoAesFree() 162 context = static_cast<mbedtls_md_context_t *>(aContext->mContext); in otPlatCryptoHmacSha256Init() 179 context = static_cast<mbedtls_md_context_t *>(aContext->mContext); in otPlatCryptoHmacSha256Deinit() 195 context = static_cast<mbedtls_md_context_t *>(aContext->mContext); in otPlatCryptoHmacSha256Start() 210 context = static_cast<mbedtls_md_context_t *>(aContext->mContext); in otPlatCryptoHmacSha256Update() 228 context = static_cast<mbedtls_md_context_t *>(aContext->mContext); in otPlatCryptoHmacSha256Finish() 242 new (aContext->mContext) HmacSha256::Hash(); in otPlatCryptoHkdfInit() [all …]
|
D | aes_ecb.hpp | 94 otCryptoContext mContext; member in ot::Crypto::AesEcb
|
D | hkdf_sha256.hpp | 101 otCryptoContext mContext; member in ot::Crypto::HkdfSha256
|
D | hmac_sha256.hpp | 136 otCryptoContext mContext; member in ot::Crypto::HmacSha256
|
D | sha256.hpp | 149 otCryptoContext mContext; member in ot::Crypto::Sha256
|
/openthread-latest/src/core/common/ |
D | callback.hpp | 80 mContext = aContext; in Set() 106 void *GetContext(void) const { return mContext; } in GetContext() 120 return (mHandler == aHandler) && (mContext == aContext); in Matches() 126 , mContext(nullptr) in CallbackBase() 131 void *mContext; member in ot::CallbackBase 163 using CallbackBase<HandlerType>::mContext; 188 return mHandler(static_cast<Args &&>(aArgs)..., mContext); in Invoke() 234 using CallbackBase<HandlerType>::mContext; 245 return mHandler(mContext, static_cast<Args &&>(aArgs)...); in Invoke()
|
D | tasklet.hpp | 199 , mContext(aContext) in TaskletContext() 209 void *GetContext(void) { return mContext; } in GetContext() 212 void *mContext; member in ot::TaskletContext
|
D | timer.hpp | 381 , mContext(aContext) in TimerMilliContext() 391 void *GetContext(void) { return mContext; } in GetContext() 394 void *mContext; member in ot::TimerMilliContext
|
/openthread-latest/src/lib/hdlc/ |
D | hdlc.cpp | 206 , mContext(nullptr) in Decoder() 216 mContext = aContext; in Init() 268 mFrameHandler(mContext, error); in Decode() 284 mFrameHandler(mContext, OT_ERROR_NO_BUFS); in Decode() 304 mFrameHandler(mContext, OT_ERROR_NO_BUFS); in Decode()
|
D | hdlc.hpp | 190 void *mContext; member in ot::Hdlc::Decoder
|
/openthread-latest/include/openthread/ |
D | tcp.h | 252 void *mContext; ///< A pointer to application-specific context member 274 void *mContext; ///< Pointer to application-specific context member 682 void *mContext; ///< A pointer to application-specific context member 694 void *mContext; ///< Pointer to application-specific context member
|
D | udp.h | 73 void *mContext; ///< A pointer to application-specific context. member 129 void *mContext; ///< A pointer to application-specific context. member
|
D | icmp6.h | 134 void *mContext; ///< A pointer to arbitrary context information. member
|
D | coap.h | 419 void *mContext; ///< Application-specific context member 443 void *mContext; ///< Application-specific context member
|
/openthread-latest/src/core/coap/ |
D | coap.hpp | 180 mHandler(mContext, &aMessage, &aMessageInfo); in HandleRequest() 213 mContext = aContext; in ResourceBlockWise() 225 …return mReceiveHook(otCoapBlockwiseResource::mContext, aBlock, aPosition, aBlockLength, aMore, aTo… in HandleBlockReceive() 230 … return mTransmitHook(otCoapBlockwiseResource::mContext, aBlock, aPosition, aBlockLength, aMore); in HandleBlockTransmit() 274 mHandler(mContext, &aMessage, &aMessageInfo); in HandleRequest()
|
/openthread-latest/src/core/net/ |
D | udp6.hpp | 145 mHandler(mContext, &aMessage, &aMessageInfo); in HandleUdpReceive() 378 mContext = aContext; in Receiver() 384 return mHandler(mContext, &aMessage, &aMessageInfo); in HandleMessage()
|
D | icmp6.hpp | 222 mContext = aContext; in Handler() 229 mReceiveCallback(mContext, &aMessage, &aMessageInfo, &aIcmp6Header); in HandleReceiveMessage()
|
D | tcp6.hpp | 141 void *GetContext(void) { return mContext; } in GetContext() 459 void *GetContext(void) { return mContext; } in GetContext()
|
D | udp6.cpp | 85 mContext = aContext; in Socket() 97 Error Udp::Socket::Open(void) { return Get<Udp>().Open(*this, mHandler, mContext); } in Open() 191 aSocket.mContext = aContext; in Open()
|
D | tcp6.cpp | 88 mContext = aArgs.mContext; in Initialize() 548 mContext = aArgs.mContext; in Initialize()
|
/openthread-latest/include/openthread/platform/ |
D | crypto.h | 132 void *mContext; ///< Pointer to the context. member
|