Lines Matching refs:md_ctx
100 mbedtls_md_context_t md_ctx; in main() local
111 mbedtls_md_init( &md_ctx ); in main()
196 if( mbedtls_md_setup( &md_ctx, md_info, 1 ) != 0 ) in main()
280 mbedtls_md_starts( &md_ctx ); in main()
281 mbedtls_md_update( &md_ctx, buffer, 8 ); in main()
282 mbedtls_md_update( &md_ctx, (unsigned char *) p, strlen( p ) ); in main()
283 mbedtls_md_finish( &md_ctx, digest ); in main()
305 mbedtls_md_starts( &md_ctx ); in main()
306 mbedtls_md_update( &md_ctx, digest, 32 ); in main()
307 mbedtls_md_update( &md_ctx, key, keylen ); in main()
308 mbedtls_md_finish( &md_ctx, digest ); in main()
331 mbedtls_md_hmac_starts( &md_ctx, digest, 32 ); in main()
353 mbedtls_md_hmac_update( &md_ctx, output, olen ); in main()
367 mbedtls_md_hmac_update( &md_ctx, output, olen ); in main()
378 mbedtls_md_hmac_finish( &md_ctx, digest ); in main()
447 mbedtls_md_starts( &md_ctx ); in main()
448 mbedtls_md_update( &md_ctx, digest, 32 ); in main()
449 mbedtls_md_update( &md_ctx, key, keylen ); in main()
450 mbedtls_md_finish( &md_ctx, digest ); in main()
474 mbedtls_md_hmac_starts( &md_ctx, digest, 32 ); in main()
491 mbedtls_md_hmac_update( &md_ctx, buffer, ilen ); in main()
509 mbedtls_md_hmac_finish( &md_ctx, digest ); in main()
562 mbedtls_md_free( &md_ctx ); in main()