Home
last modified time | relevance | path

Searched refs:mbedtls_sha256_context (Results 1 – 7 of 7) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dsha256.h40 typedef struct mbedtls_sha256_context { struct
49 mbedtls_sha256_context; typedef
60 void mbedtls_sha256_init(mbedtls_sha256_context *ctx);
69 void mbedtls_sha256_free(mbedtls_sha256_context *ctx);
77 void mbedtls_sha256_clone(mbedtls_sha256_context *dst,
78 const mbedtls_sha256_context *src);
95 int mbedtls_sha256_starts(mbedtls_sha256_context *ctx, int is224);
110 int mbedtls_sha256_update(mbedtls_sha256_context *ctx,
127 int mbedtls_sha256_finish(mbedtls_sha256_context *ctx,
142 int mbedtls_internal_sha256_process(mbedtls_sha256_context *ctx,
/openthread-latest/third_party/mbedtls/repo/library/
Dsha256.c221 void mbedtls_sha256_init(mbedtls_sha256_context *ctx) in mbedtls_sha256_init()
223 memset(ctx, 0, sizeof(mbedtls_sha256_context)); in mbedtls_sha256_init()
226 void mbedtls_sha256_free(mbedtls_sha256_context *ctx) in mbedtls_sha256_free()
232 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_sha256_context)); in mbedtls_sha256_free()
235 void mbedtls_sha256_clone(mbedtls_sha256_context *dst, in mbedtls_sha256_clone()
236 const mbedtls_sha256_context *src) in mbedtls_sha256_clone()
244 int mbedtls_sha256_starts(mbedtls_sha256_context *ctx, int is224) in mbedtls_sha256_starts()
326 mbedtls_sha256_context *ctx, const uint8_t *msg, size_t len) in mbedtls_internal_sha256_process_many_a64_crypto()
427 int mbedtls_internal_sha256_process_a64_crypto(mbedtls_sha256_context *ctx, in mbedtls_internal_sha256_process_a64_crypto()
488 int mbedtls_internal_sha256_process_c(mbedtls_sha256_context *ctx, in mbedtls_internal_sha256_process_c()
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/include/alt-dummy/
Dsha256_alt.h10 typedef struct mbedtls_sha256_context { struct
13 mbedtls_sha256_context; argument
/openthread-latest/src/core/crypto/
Dcrypto_platform.cpp355 mbedtls_sha256_context *context; in otPlatCryptoSha256Init()
359 context = static_cast<mbedtls_sha256_context *>(aContext->mContext); in otPlatCryptoSha256Init()
369 mbedtls_sha256_context *context; in otPlatCryptoSha256Deinit()
372 VerifyOrExit(aContext->mContextSize >= sizeof(mbedtls_sha256_context), error = kErrorFailed); in otPlatCryptoSha256Deinit()
374 context = static_cast<mbedtls_sha256_context *>(aContext->mContext); in otPlatCryptoSha256Deinit()
386 mbedtls_sha256_context *context; in otPlatCryptoSha256Start()
389 VerifyOrExit(aContext->mContextSize >= sizeof(mbedtls_sha256_context), error = kErrorFailed); in otPlatCryptoSha256Start()
391 context = static_cast<mbedtls_sha256_context *>(aContext->mContext); in otPlatCryptoSha256Start()
406 mbedtls_sha256_context *context; in otPlatCryptoSha256Update()
409 VerifyOrExit(aContext->mContextSize >= sizeof(mbedtls_sha256_context), error = kErrorFailed); in otPlatCryptoSha256Update()
[all …]
Dcontext_size.hpp52 constexpr uint16_t kSha256ContextSize = sizeof(mbedtls_sha256_context);
/openthread-latest/third_party/mbedtls/repo/include/psa/
Dcrypto_builtin_primitives.h67 mbedtls_sha256_context sha256;
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_shax.function25 mbedtls_sha256_context ctx;