Home
last modified time | relevance | path

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

/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/mbedtls/
H A 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,
/aosp_15_r20/external/mbedtls/include/mbedtls/
H A Dsha256.h40 typedef struct mbedtls_sha256_context { struct
47 mbedtls_sha256_context; typedef
58 void mbedtls_sha256_init(mbedtls_sha256_context *ctx);
67 void mbedtls_sha256_free(mbedtls_sha256_context *ctx);
75 void mbedtls_sha256_clone(mbedtls_sha256_context *dst,
76 const mbedtls_sha256_context *src);
93 int mbedtls_sha256_starts(mbedtls_sha256_context *ctx, int is224);
108 int mbedtls_sha256_update(mbedtls_sha256_context *ctx,
125 int mbedtls_sha256_finish(mbedtls_sha256_context *ctx,
140 int mbedtls_internal_sha256_process(mbedtls_sha256_context *ctx,
/aosp_15_r20/external/mbedtls/library/
H A Dsha256.c191 void mbedtls_sha256_init(mbedtls_sha256_context *ctx) in mbedtls_sha256_init()
193 memset(ctx, 0, sizeof(mbedtls_sha256_context)); in mbedtls_sha256_init()
196 void mbedtls_sha256_free(mbedtls_sha256_context *ctx) in mbedtls_sha256_free()
202 mbedtls_platform_zeroize(ctx, sizeof(mbedtls_sha256_context)); in mbedtls_sha256_free()
205 void mbedtls_sha256_clone(mbedtls_sha256_context *dst, in mbedtls_sha256_clone()
206 const mbedtls_sha256_context *src) in mbedtls_sha256_clone()
214 int mbedtls_sha256_starts(mbedtls_sha256_context *ctx, int is224) in mbedtls_sha256_starts()
296 mbedtls_sha256_context *ctx, const uint8_t *msg, size_t len) in mbedtls_internal_sha256_process_many_a64_crypto()
397 int mbedtls_internal_sha256_process_a64_crypto(mbedtls_sha256_context *ctx, in mbedtls_internal_sha256_process_a64_crypto()
458 int mbedtls_internal_sha256_process_c(mbedtls_sha256_context *ctx, in mbedtls_internal_sha256_process_c()
[all …]
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A 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 …]
/aosp_15_r20/external/openthread/src/core/crypto/
H A 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 …]
H A Dcontext_size.hpp51 constexpr uint16_t kSha256ContextSize = sizeof(mbedtls_sha256_context);
/aosp_15_r20/external/mbedtls/tests/include/alt-dummy/
H A Dsha256_alt.h10 typedef struct mbedtls_sha256_context { struct
13 mbedtls_sha256_context; typedef
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/include/alt-dummy/
H A Dsha256_alt.h10 typedef struct mbedtls_sha256_context { struct
13 mbedtls_sha256_context; typedef
/aosp_15_r20/external/pigweed/pw_crypto/public/pw_crypto/
H A Dsha256_mbedtls.h28 using NativeSha256Context = mbedtls_sha256_context;
/aosp_15_r20/external/ot-br-posix/src/utils/
H A Dsha256.hpp104 const static uint16_t kSha256ContextSize = sizeof(mbedtls_sha256_context);
H A Dsteering_data.cpp52 mbedtls_sha256_context sha256; in ComputeJoinerId()
/aosp_15_r20/external/mbedtls/include/psa/
H A Dcrypto_builtin_primitives.h67 mbedtls_sha256_context sha256;
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/include/psa/
H A Dcrypto_builtin_primitives.h67 mbedtls_sha256_context sha256;
/aosp_15_r20/external/libwebsockets/include/libwebsockets/
H A Dlws-genhash.h60 mbedtls_sha256_context sha256;
/aosp_15_r20/external/curl/lib/
H A Dsha256.c158 typedef mbedtls_sha256_context my_sha256_ctx;
/aosp_15_r20/external/mbedtls/tests/suites/
H A Dtest_suite_shax.function25 mbedtls_sha256_context ctx;
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/suites/
H A Dtest_suite_shax.function25 mbedtls_sha256_context ctx;