Home
last modified time | relevance | path

Searched refs:mbedtls_md_hmac_starts (Results 1 - 13 of 13) sorted by relevance

/third_party/mbedtls/library/
H A Dhmac_drbg.c77 if ((ret = mbedtls_md_hmac_starts(&ctx->md_ctx, K, md_len)) != 0) { in mbedtls_hmac_drbg_update()
116 if ((ret = mbedtls_md_hmac_starts(&ctx->md_ctx, ctx->V, in mbedtls_hmac_drbg_seed_buf()
248 if ((ret = mbedtls_md_hmac_starts(&ctx->md_ctx, ctx->V, md_size)) != 0) { in mbedtls_hmac_drbg_seed()
H A Dhkdf.c133 ret = mbedtls_md_hmac_starts(&ctx, prk, prk_len); in mbedtls_hkdf_expand()
H A Dmd.c969 int mbedtls_md_hmac_starts(mbedtls_md_context_t *ctx, const unsigned char *key, size_t keylen) in mbedtls_md_hmac_starts() function
1090 if ((ret = mbedtls_md_hmac_starts(&ctx, key, keylen)) != 0) { in mbedtls_md_hmac()
H A Dssl_cookie.c143 ret = mbedtls_md_hmac_starts(&ctx->hmac_ctx, key, sizeof(key)); in mbedtls_ssl_cookie_setup()
H A Dpkcs5.c292 if ((ret = mbedtls_md_hmac_starts(ctx, password, plen)) != 0) { in pkcs5_pbkdf2_hmac()
H A Dssl_tls.c6868 ret = mbedtls_md_hmac_starts(&md_ctx, secret, slen); in tls_prf_generic()
9219 ret = mbedtls_md_hmac_starts(&transform->md_ctx_enc, mac_enc, mac_key_len); in ssl_tls12_populate_transform()
9223 ret = mbedtls_md_hmac_starts(&transform->md_ctx_dec, mac_dec, mac_key_len); in ssl_tls12_populate_transform()
/third_party/mbedtls/programs/hash/
H A Dmd_hmac_demo.c116 CHK(mbedtls_md_hmac_starts(&ctx, key_bytes, sizeof(key_bytes))); in hmac_demo()
/third_party/mbedtls/include/mbedtls/
H A Dmd.h434 int mbedtls_md_hmac_starts(mbedtls_md_context_t *ctx, const unsigned char *key,
441 * Call mbedtls_md_hmac_starts() or mbedtls_md_hmac_reset()
464 * Call this function after mbedtls_md_hmac_starts() and
/third_party/mbedtls/programs/aes/
H A Dcrypt_and_hash.c322 if (mbedtls_md_hmac_starts(&md_ctx, digest, 32) != 0) { in main()
323 mbedtls_fprintf(stderr, "mbedtls_md_hmac_starts() returned error\n"); in main()
476 if (mbedtls_md_hmac_starts(&md_ctx, digest, 32) != 0) { in main()
477 mbedtls_fprintf(stderr, "mbedtls_md_hmac_starts() returned error\n"); in main()
/third_party/libwebsockets/lib/tls/mbedtls/
H A Dlws-genhash.c286 if (mbedtls_md_hmac_starts(&ctx->ctx, key, key_len)) { in lws_genhmac_init()
/third_party/lwip/src/apps/snmp/
H A Dsnmpv3_mbedtls.c77 if (mbedtls_md_hmac_starts(&ctx, key, key_len) != 0) { in snmpv3_auth()
/third_party/mbedtls/tests/src/test_helpers/
H A Dssl_helpers.c1408 CHK(mbedtls_md_hmac_starts(&t_in->md_ctx_enc, in mbedtls_test_ssl_build_transforms()
1410 CHK(mbedtls_md_hmac_starts(&t_in->md_ctx_dec, in mbedtls_test_ssl_build_transforms()
1412 CHK(mbedtls_md_hmac_starts(&t_out->md_ctx_enc, in mbedtls_test_ssl_build_transforms()
1414 CHK(mbedtls_md_hmac_starts(&t_out->md_ctx_dec, in mbedtls_test_ssl_build_transforms()
/third_party/libcoap/src/
H A Dcoap_mbedtls.c3025 C(mbedtls_md_hmac_starts(&ctx, key->s, key->length));

Completed in 23 milliseconds