Home
last modified time | relevance | path

Searched refs:mbedtls_sha3_starts (Results 1 – 5 of 5) sorted by relevance

/mbedtls-3.6.0/tests/suites/
Dtest_suite_shax.function176 TEST_EQUAL(mbedtls_sha3_starts(&ctx, MBEDTLS_SHA3_NONE), MBEDTLS_ERR_SHA3_BAD_INPUT_DATA);
178 TEST_EQUAL(mbedtls_sha3_starts(&ctx, MBEDTLS_SHA3_256), 0);
181 TEST_EQUAL(mbedtls_sha3_starts(&ctx, MBEDTLS_SHA3_256), 0);
184 TEST_EQUAL(mbedtls_sha3_starts(&ctx, MBEDTLS_SHA3_256), 0);
202 mbedtls_sha3_starts(&ctx, family);
248 TEST_ASSERT(mbedtls_sha3_starts(&ctx, type) == 0);
292 TEST_ASSERT(mbedtls_sha3_starts(&ctx, type1) == 0);
298 TEST_ASSERT(mbedtls_sha3_starts(&ctx, type2) == 0);
/mbedtls-3.6.0/library/
Dpsa_crypto_hash.c148 ret = mbedtls_sha3_starts(&operation->ctx.sha3, MBEDTLS_SHA3_224); in mbedtls_psa_hash_setup()
154 ret = mbedtls_sha3_starts(&operation->ctx.sha3, MBEDTLS_SHA3_256); in mbedtls_psa_hash_setup()
160 ret = mbedtls_sha3_starts(&operation->ctx.sha3, MBEDTLS_SHA3_384); in mbedtls_psa_hash_setup()
166 ret = mbedtls_sha3_starts(&operation->ctx.sha3, MBEDTLS_SHA3_512); in mbedtls_psa_hash_setup()
Dsha3.c181 int mbedtls_sha3_starts(mbedtls_sha3_context *ctx, mbedtls_sha3_id id) in mbedtls_sha3_starts() function
293 if ((ret = mbedtls_sha3_starts(&ctx, id)) != 0) { in mbedtls_sha3()
510 result = mbedtls_sha3_starts(&ctx, id); in mbedtls_sha3_long_kat_test()
Dmd.c558 return mbedtls_sha3_starts(ctx->md_ctx, MBEDTLS_SHA3_224); in mbedtls_md_starts()
560 return mbedtls_sha3_starts(ctx->md_ctx, MBEDTLS_SHA3_256); in mbedtls_md_starts()
562 return mbedtls_sha3_starts(ctx->md_ctx, MBEDTLS_SHA3_384); in mbedtls_md_starts()
564 return mbedtls_sha3_starts(ctx->md_ctx, MBEDTLS_SHA3_512); in mbedtls_md_starts()
/mbedtls-3.6.0/include/mbedtls/
Dsha3.h93 int mbedtls_sha3_starts(mbedtls_sha3_context *ctx, mbedtls_sha3_id id);