Searched refs:md_ctx (Results 1 – 2 of 2) sorted by relevance
30 mbedtls_md_init(&ctx->md_ctx); in updatehub_integrity_init()31 ret = mbedtls_md_setup(&ctx->md_ctx, ctx->md_info, 0); in updatehub_integrity_init()41 ret = mbedtls_md_starts(&ctx->md_ctx); in updatehub_integrity_init()72 ret = mbedtls_md_update(&ctx->md_ctx, buffer, len); in updatehub_integrity_update()103 ret = mbedtls_md_finish(&ctx->md_ctx, hash); in updatehub_integrity_finish()109 mbedtls_md_free(&ctx->md_ctx); in updatehub_integrity_finish()
28 mbedtls_md_context_t md_ctx; member