Home
last modified time | relevance | path

Searched refs:mbedtls_md_hmac_update (Results 1 – 13 of 13) sorted by relevance

/third_party/mbedtls/library/
Dhkdf.c150 ret = mbedtls_md_hmac_update( &ctx, t, t_len ); in mbedtls_hkdf_expand()
156 ret = mbedtls_md_hmac_update( &ctx, info, info_len ); in mbedtls_hkdf_expand()
164 ret = mbedtls_md_hmac_update( &ctx, &c, 1 ); in mbedtls_hkdf_expand()
Dhmac_drbg.c77 if( ( ret = mbedtls_md_hmac_update( &ctx->md_ctx, in mbedtls_hmac_drbg_update()
80 if( ( ret = mbedtls_md_hmac_update( &ctx->md_ctx, in mbedtls_hmac_drbg_update()
85 if( ( ret = mbedtls_md_hmac_update( &ctx->md_ctx, in mbedtls_hmac_drbg_update()
95 if( ( ret = mbedtls_md_hmac_update( &ctx->md_ctx, in mbedtls_hmac_drbg_update()
363 if( ( ret = mbedtls_md_hmac_update( &ctx->md_ctx, in mbedtls_hmac_drbg_random_with_add()
Dpkcs5.c248 if( ( ret = mbedtls_md_hmac_update( ctx, salt, slen ) ) != 0 ) in mbedtls_pkcs5_pbkdf2_hmac()
251 if( ( ret = mbedtls_md_hmac_update( ctx, counter, 4 ) ) != 0 ) in mbedtls_pkcs5_pbkdf2_hmac()
266 if( ( ret = mbedtls_md_hmac_update( ctx, md1, md_size ) ) != 0 ) in mbedtls_pkcs5_pbkdf2_hmac()
Dssl_cookie.c134 mbedtls_md_hmac_update( hmac_ctx, time, 4 ) != 0 || in ssl_cookie_hmac()
135 mbedtls_md_hmac_update( hmac_ctx, cli_id, cli_id_len ) != 0 || in ssl_cookie_hmac()
Dmd.c672 int mbedtls_md_hmac_update( mbedtls_md_context_t *ctx, const unsigned char *input, size_t ilen ) in mbedtls_md_hmac_update() function
737 if( ( ret = mbedtls_md_hmac_update( &ctx, input, ilen ) ) != 0 ) in mbedtls_md_hmac()
Dssl_msg.c672 ret = mbedtls_md_hmac_update( &transform->md_ctx_enc, add_data, in mbedtls_ssl_encrypt_buf()
676 ret = mbedtls_md_hmac_update( &transform->md_ctx_enc, data, rec->data_len ); in mbedtls_ssl_encrypt_buf()
945 ret = mbedtls_md_hmac_update( &transform->md_ctx_enc, add_data, in mbedtls_ssl_encrypt_buf()
949 ret = mbedtls_md_hmac_update( &transform->md_ctx_enc, in mbedtls_ssl_encrypt_buf()
1243 ret = mbedtls_md_hmac_update( &transform->md_ctx_dec, add_data, in mbedtls_ssl_decrypt_buf()
1247 ret = mbedtls_md_hmac_update( &transform->md_ctx_dec, in mbedtls_ssl_decrypt_buf()
Dssl_tls.c506 ret = mbedtls_md_hmac_update( &md_ctx, tmp + md_len, nb ); in tls_prf_generic()
518 ret = mbedtls_md_hmac_update( &md_ctx, tmp, md_len + nb ); in tls_prf_generic()
528 ret = mbedtls_md_hmac_update( &md_ctx, tmp, md_len ); in tls_prf_generic()
/third_party/mbedtls/tests/suites/
Dtest_suite_md.function80 TEST_ASSERT( mbedtls_md_hmac_update( NULL, buf, 1 )
82 TEST_ASSERT( mbedtls_md_hmac_update( &ctx, buf, 1 )
329 TEST_ASSERT ( 0 == mbedtls_md_hmac_update( &ctx, src_str->x, halfway ) );
330 … TEST_ASSERT ( 0 == mbedtls_md_hmac_update( &ctx, src_str->x + halfway, src_str->len - halfway ) );
340 TEST_ASSERT ( 0 == mbedtls_md_hmac_update( &ctx, src_str->x, halfway ) );
341 … TEST_ASSERT ( 0 == mbedtls_md_hmac_update( &ctx, src_str->x + halfway, src_str->len - halfway ) );
Dtest_suite_ssl.function3567 TEST_EQUAL( 0, mbedtls_md_hmac_update( &t0.md_ctx_enc, add_data, 13 ) );
3568 TEST_EQUAL( 0, mbedtls_md_hmac_update( &t0.md_ctx_enc,
4723 TEST_EQUAL( 0, mbedtls_md_hmac_update( &ref_ctx, add_data,
4725 TEST_EQUAL( 0, mbedtls_md_hmac_update( &ref_ctx, data, in_len ) );
/third_party/mbedtls/programs/aes/
Dcrypt_and_hash.c394 if( mbedtls_md_hmac_update( &md_ctx, output, olen ) != 0 ) in main()
412 if( mbedtls_md_hmac_update( &md_ctx, output, olen ) != 0 ) in main()
564 if( mbedtls_md_hmac_update( &md_ctx, buffer, ilen ) != 0 ) in main()
/third_party/mbedtls/include/mbedtls/
Dmd.h391 int mbedtls_md_hmac_update( mbedtls_md_context_t *ctx, const unsigned char *input,
/third_party/libwebsockets/lib/tls/mbedtls/
Dlws-genhash.c302 if (mbedtls_md_hmac_update(&ctx->ctx, in, len)) in lws_genhmac_update()
/third_party/lwip/src/apps/snmp/
Dsnmpv3_mbedtls.c88 if (mbedtls_md_hmac_update(&ctx, &byte, 1) != 0) { in snmpv3_auth()