Home
last modified time | relevance | path

Searched refs:hash_alg (Results 1 – 8 of 8) sorted by relevance

/library/
A Dssl_tls13_keys.c228 hash_alg, in ssl_tls13_make_traffic_key()
238 hash_alg, in ssl_tls13_make_traffic_key()
452 hash_alg, in mbedtls_ssl_tls13_derive_early_secrets()
465 hash_alg, in mbedtls_ssl_tls13_derive_early_secrets()
514 hash_alg, in mbedtls_ssl_tls13_derive_handshake_secrets()
531 hash_alg, in mbedtls_ssl_tls13_derive_handshake_secrets()
579 hash_alg, in mbedtls_ssl_tls13_derive_application_secrets()
591 hash_alg, in mbedtls_ssl_tls13_derive_application_secrets()
603 hash_alg, in mbedtls_ssl_tls13_derive_application_secrets()
637 hash_alg, in mbedtls_ssl_tls13_derive_resumption_master_secret()
[all …]
A Dssl_tls13_keys.h112 psa_algorithm_t hash_alg,
151 psa_algorithm_t hash_alg,
198 psa_algorithm_t hash_alg,
249 psa_algorithm_t hash_alg,
295 psa_algorithm_t hash_alg,
346 psa_algorithm_t hash_alg,
377 psa_algorithm_t hash_alg,
451 psa_algorithm_t hash_alg,
481 const psa_algorithm_t hash_alg,
660 int mbedtls_ssl_tls13_exporter(const psa_algorithm_t hash_alg,
A Dssl_tls13_client.c753 *hash_alg = PSA_ALG_SHA_256; in ssl_tls13_psk_get_identity()
770 *hash_alg = PSA_ALG_SHA_256; in ssl_tls13_psk_get_psk()
839 binder_len = PSA_HASH_LENGTH(hash_alg); in ssl_tls13_write_binder()
851 ssl, mbedtls_md_type_from_psa_alg(hash_alg), in ssl_tls13_write_binder()
901 psa_algorithm_t hash_alg = PSA_ALG_NONE; in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext() local
955 l_binders_len += 1 + PSA_HASH_LENGTH(hash_alg); in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext()
969 l_binders_len += 1 + PSA_HASH_LENGTH(hash_alg); in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext()
1003 psa_algorithm_t hash_alg = PSA_ALG_NONE; in mbedtls_ssl_tls13_write_binders_of_pre_shared_key_ext() local
1082 psa_algorithm_t hash_alg; in ssl_tls13_parse_server_pre_shared_key_ext() local
1114 != hash_alg) { in ssl_tls13_parse_server_pre_shared_key_ext()
[all …]
A Dx509write_csr.c147 psa_algorithm_t hash_alg = mbedtls_md_psa_alg_from_type(ctx->md_alg); in x509write_csr_der_internal() local
212 if (psa_hash_compute(hash_alg, in x509write_csr_der_internal()
A Dssl_tls13_generic.c226 psa_algorithm_t hash_alg = PSA_ALG_NONE; in ssl_tls13_parse_certificate_verify() local
269 hash_alg = mbedtls_md_psa_alg_from_type(md_alg); in ssl_tls13_parse_certificate_verify()
270 if (hash_alg == 0) { in ssl_tls13_parse_certificate_verify()
290 status = psa_hash_compute(hash_alg, in ssl_tls13_parse_certificate_verify()
A Dssl_tls.c6316 if (hash_alg == MBEDTLS_MD_SHA384) { in ssl_compute_master()
8048 psa_algorithm_t hash_alg = mbedtls_md_psa_alg_from_type(md_alg); in mbedtls_ssl_get_key_exchange_md_tls1_2() local
8053 hash_alg)) != PSA_SUCCESS) { in mbedtls_ssl_get_key_exchange_md_tls1_2()
8865 const mbedtls_md_type_t hash_alg, in mbedtls_ssl_tls12_export_keying_material() argument
8908 ret = tls_prf_generic(hash_alg, ssl->session->master, sizeof(ssl->session->master), in mbedtls_ssl_tls12_export_keying_material()
8919 const mbedtls_md_type_t hash_alg, in mbedtls_ssl_tls13_export_keying_material() argument
8927 const psa_algorithm_t psa_hash_alg = mbedtls_md_psa_alg_from_type(hash_alg); in mbedtls_ssl_tls13_export_keying_material()
8928 const size_t hash_len = PSA_HASH_LENGTH(hash_alg); in mbedtls_ssl_tls13_export_keying_material()
8964 const mbedtls_md_type_t hash_alg = ciphersuite->mac; in mbedtls_ssl_export_keying_material() local
8969 return mbedtls_ssl_tls12_export_keying_material(ssl, hash_alg, out, key_len, in mbedtls_ssl_export_keying_material()
[all …]
A Dssl_msg.c83 psa_algorithm_t hash_alg = PSA_ALG_HMAC_GET_HASH(mac_alg); in mbedtls_ct_hmac() local
84 const size_t block_size = PSA_HASH_BLOCK_LENGTH(hash_alg); in mbedtls_ct_hmac()
86 const size_t hash_size = PSA_HASH_LENGTH(hash_alg); in mbedtls_ct_hmac()
120 PSA_CHK(psa_hash_setup(&operation, hash_alg)); in mbedtls_ct_hmac()
159 PSA_CHK(psa_hash_setup(&operation, hash_alg)); in mbedtls_ct_hmac()
A Dx509_crt.c2110 psa_algorithm_t hash_alg = mbedtls_md_psa_alg_from_type(child->sig_md); in x509_crt_check_signature() local
2113 status = psa_hash_compute(hash_alg, in x509_crt_check_signature()

Completed in 52 milliseconds