Home
last modified time | relevance | path

Searched refs:hash_ctx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-2.7.6/samples/net/sockets/big_http_download/src/
Dbig_http_download.c69 mbedtls_md_context_t hash_ctx; variable
192 mbedtls_md_starts(&hash_ctx); in download()
211 mbedtls_md_update(&hash_ctx, response, len); in download()
223 mbedtls_md_finish(&hash_ctx, response_hash); in download()
324 mbedtls_md_init(&hash_ctx); in main()
325 if (mbedtls_md_setup(&hash_ctx, hash_info, 0) < 0) { in main()
350 mbedtls_md_free(&hash_ctx); in main()
/Zephyr-Core-2.7.6/subsys/mgmt/hawkbit/
Dhawkbit.c74 mbedtls_md_context_t hash_ctx; member
800 ret = mbedtls_md_update(&hb_context.dl.hash_ctx, body_data, in response_cb()
1232 mbedtls_md_init(&hb_context.dl.hash_ctx); in hawkbit_probe()
1233 if (mbedtls_md_setup(&hb_context.dl.hash_ctx, hash_info, 0) < 0) { in hawkbit_probe()
1235 mbedtls_md_free(&hb_context.dl.hash_ctx); in hawkbit_probe()
1240 mbedtls_md_starts(&hb_context.dl.hash_ctx); in hawkbit_probe()
1246 mbedtls_md_finish(&hb_context.dl.hash_ctx, response_hash); in hawkbit_probe()
1279 mbedtls_md_free(&hb_context.dl.hash_ctx); in hawkbit_probe()