Home
last modified time | relevance | path

Searched refs:otCryptoContext (Results 1 – 6 of 6) sorted by relevance

/openthread-latest/include/openthread/platform/
Dcrypto.h122 typedef struct otCryptoContext struct
126 } otCryptoContext; argument
301 otError otPlatCryptoHmacSha256Init(otCryptoContext *aContext);
312 otError otPlatCryptoHmacSha256Deinit(otCryptoContext *aContext);
324 otError otPlatCryptoHmacSha256Start(otCryptoContext *aContext, const otCryptoKey *aKey);
337 otError otPlatCryptoHmacSha256Update(otCryptoContext *aContext, const void *aBuf, uint16_t aBufLeng…
350 otError otPlatCryptoHmacSha256Finish(otCryptoContext *aContext, uint8_t *aBuf, size_t aBufLength);
365 otError otPlatCryptoAesInit(otCryptoContext *aContext);
377 otError otPlatCryptoAesSetKey(otCryptoContext *aContext, const otCryptoKey *aKey);
390 otError otPlatCryptoAesEncrypt(otCryptoContext *aContext, const uint8_t *aInput, uint8_t *aOutput);
[all …]
/openthread-latest/src/core/crypto/
Dcrypto_platform.cpp88 OT_TOOL_WEAK otError otPlatCryptoAesInit(otCryptoContext *aContext) in otPlatCryptoAesInit()
103 OT_TOOL_WEAK otError otPlatCryptoAesSetKey(otCryptoContext *aContext, const otCryptoKey *aKey) in otPlatCryptoAesSetKey()
120 OT_TOOL_WEAK otError otPlatCryptoAesEncrypt(otCryptoContext *aContext, const uint8_t *aInput, uint8… in otPlatCryptoAesEncrypt()
135 OT_TOOL_WEAK otError otPlatCryptoAesFree(otCryptoContext *aContext) in otPlatCryptoAesFree()
153 OT_TOOL_WEAK otError otPlatCryptoHmacSha256Init(otCryptoContext *aContext) in otPlatCryptoHmacSha256Init()
171 OT_TOOL_WEAK otError otPlatCryptoHmacSha256Deinit(otCryptoContext *aContext) in otPlatCryptoHmacSha256Deinit()
186 OT_TOOL_WEAK otError otPlatCryptoHmacSha256Start(otCryptoContext *aContext, const otCryptoKey *aKey) in otPlatCryptoHmacSha256Start()
202 OT_TOOL_WEAK otError otPlatCryptoHmacSha256Update(otCryptoContext *aContext, const void *aBuf, uint… in otPlatCryptoHmacSha256Update()
218 OT_TOOL_WEAK otError otPlatCryptoHmacSha256Finish(otCryptoContext *aContext, uint8_t *aBuf, size_t … in otPlatCryptoHmacSha256Finish()
235 otError otPlatCryptoHkdfInit(otCryptoContext *aContext) in otPlatCryptoHkdfInit()
[all …]
Daes_ecb.hpp88 otCryptoContext mContext;
Dhkdf_sha256.hpp96 otCryptoContext mContext;
Dhmac_sha256.hpp126 otCryptoContext mContext;
Dsha256.hpp138 otCryptoContext mContext;