Lines Matching refs:md_ctx
92 mbedtls_md_context_t md_ctx; in main() local
103 mbedtls_md_init( &md_ctx ); in main()
188 if( mbedtls_md_setup( &md_ctx, md_info, 1 ) != 0 ) in main()
274 mbedtls_md_starts( &md_ctx ); in main()
275 mbedtls_md_update( &md_ctx, buffer, 8 ); in main()
276 mbedtls_md_update( &md_ctx, (unsigned char *) p, strlen( p ) ); in main()
277 mbedtls_md_finish( &md_ctx, digest ); in main()
299 mbedtls_md_starts( &md_ctx ); in main()
300 mbedtls_md_update( &md_ctx, digest, 32 ); in main()
301 mbedtls_md_update( &md_ctx, key, keylen ); in main()
302 mbedtls_md_finish( &md_ctx, digest ); in main()
325 mbedtls_md_hmac_starts( &md_ctx, digest, 32 ); in main()
347 mbedtls_md_hmac_update( &md_ctx, output, olen ); in main()
361 mbedtls_md_hmac_update( &md_ctx, output, olen ); in main()
372 mbedtls_md_hmac_finish( &md_ctx, digest ); in main()
441 mbedtls_md_starts( &md_ctx ); in main()
442 mbedtls_md_update( &md_ctx, digest, 32 ); in main()
443 mbedtls_md_update( &md_ctx, key, keylen ); in main()
444 mbedtls_md_finish( &md_ctx, digest ); in main()
468 mbedtls_md_hmac_starts( &md_ctx, digest, 32 ); in main()
485 mbedtls_md_hmac_update( &md_ctx, buffer, ilen ); in main()
503 mbedtls_md_hmac_finish( &md_ctx, digest ); in main()
547 mbedtls_md_free( &md_ctx ); in main()