/openthread-3.5.0/src/core/crypto/ |
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 | 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 | 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-3.5.0/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() 215 using CallbackBase<HandlerType>::mContext; 226 return mHandler(mContext, static_cast<Args &&>(aArgs)...); in Invoke()
|
D | tasklet.hpp | 201 , mContext(aContext) in TaskletContext() 211 void *GetContext(void) { return mContext; } in GetContext() 214 void *mContext; member in ot::TaskletContext
|
D | timer.hpp | 298 , mContext(aContext) in TimerMilliContext() 308 void *GetContext(void) { return mContext; } in GetContext() 311 void *mContext; member in ot::TimerMilliContext
|
/openthread-3.5.0/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 128 void *mContext; ///< A pointer to application-specific context. member
|
D | icmp6.h | 133 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-3.5.0/src/lib/hdlc/ |
D | hdlc.cpp | 206 , mContext(aContext) in Decoder() 261 mFrameHandler(mContext, error); in Decode() 277 mFrameHandler(mContext, OT_ERROR_NO_BUFS); in Decode() 297 mFrameHandler(mContext, OT_ERROR_NO_BUFS); in Decode()
|
D | hdlc.hpp | 184 void *mContext; member in ot::Hdlc::Decoder
|
/openthread-3.5.0/src/core/net/ |
D | udp6.hpp | 143 mHandler(mContext, &aMessage, &aMessageInfo); in HandleUdpReceive() 347 mContext = aContext; in Receiver() 353 return mHandler(mContext, &aMessage, &aMessageInfo); in HandleMessage()
|
D | icmp6.hpp | 223 mContext = aContext; in Handler() 230 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 | tcp6.cpp | 91 mContext = aArgs.mContext; in Initialize() 551 mContext = aArgs.mContext; in Initialize()
|
/openthread-3.5.0/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-3.5.0/include/openthread/platform/ |
D | crypto.h | 132 void *mContext; ///< Pointer to the context. member
|
/openthread-3.5.0/src/cli/ |
D | cli_tcp.cpp | 208 endpointArgs.mContext = this; in Process() 221 listenerArgs.mContext = this; in Process()
|