Lines Matching refs:hash_alg
704 psa_algorithm_t *hash_alg, in ssl_tls13_ticket_get_identity() argument
714 *hash_alg = ssl_tls13_get_ciphersuite_hash_alg(session->ciphersuite); in ssl_tls13_ticket_get_identity()
722 psa_algorithm_t *hash_alg, in ssl_tls13_ticket_get_psk() argument
733 *hash_alg = ssl_tls13_get_ciphersuite_hash_alg(session->ciphersuite); in ssl_tls13_ticket_get_psk()
743 psa_algorithm_t *hash_alg, in ssl_tls13_psk_get_identity() argument
752 *hash_alg = PSA_ALG_SHA_256; in ssl_tls13_psk_get_identity()
760 psa_algorithm_t *hash_alg, in ssl_tls13_psk_get_psk() argument
769 *hash_alg = PSA_ALG_SHA_256; in ssl_tls13_psk_get_psk()
826 psa_algorithm_t hash_alg, in ssl_tls13_write_binder() argument
838 binder_len = PSA_HASH_LENGTH(hash_alg); in ssl_tls13_write_binder()
850 ssl, mbedtls_hash_info_md_from_psa(hash_alg), in ssl_tls13_write_binder()
856 ret = mbedtls_ssl_tls13_create_psk_binder(ssl, hash_alg, in ssl_tls13_write_binder()
900 psa_algorithm_t hash_alg = PSA_ALG_NONE; in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext() local
929 ssl, &hash_alg, &identity, &identity_len) == 0) { in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext()
968 l_binders_len += 1 + PSA_HASH_LENGTH(hash_alg); in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext()
973 ssl, &hash_alg, &identity, &identity_len) == 0) { in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext()
982 l_binders_len += 1 + PSA_HASH_LENGTH(hash_alg); in mbedtls_ssl_tls13_write_identities_of_pre_shared_key_ext()
1016 psa_algorithm_t hash_alg = PSA_ALG_NONE; in mbedtls_ssl_tls13_write_binders_of_pre_shared_key_ext() local
1028 if (ssl_tls13_ticket_get_psk(ssl, &hash_alg, &psk, &psk_len) == 0) { in mbedtls_ssl_tls13_write_binders_of_pre_shared_key_ext()
1032 hash_alg, psk, psk_len, in mbedtls_ssl_tls13_write_binders_of_pre_shared_key_ext()
1041 if (ssl_tls13_psk_get_psk(ssl, &hash_alg, &psk, &psk_len) == 0) { in mbedtls_ssl_tls13_write_binders_of_pre_shared_key_ext()
1045 hash_alg, psk, psk_len, in mbedtls_ssl_tls13_write_binders_of_pre_shared_key_ext()
1095 psa_algorithm_t hash_alg; in ssl_tls13_parse_server_pre_shared_key_ext() local
1113 ret = ssl_tls13_ticket_get_psk(ssl, &hash_alg, &psk, &psk_len); in ssl_tls13_parse_server_pre_shared_key_ext()
1117 ret = ssl_tls13_psk_get_psk(ssl, &hash_alg, &psk, &psk_len); in ssl_tls13_parse_server_pre_shared_key_ext()
1127 != hash_alg) { in ssl_tls13_parse_server_pre_shared_key_ext()
1235 psa_algorithm_t hash_alg = PSA_ALG_NONE; in mbedtls_ssl_tls13_finalize_client_hello() local
1248 ret = ssl_tls13_ticket_get_psk(ssl, &hash_alg, &psk, &psk_len); in mbedtls_ssl_tls13_finalize_client_hello()