Lines Matching refs:sig_alg
1667 mbedtls_pk_type_t sig_alg = mbedtls_ssl_get_ciphersuite_sig_alg(ciphersuite_info); in ssl_parse_client_hello() local
1668 if (sig_alg != MBEDTLS_PK_NONE) { in ssl_parse_client_hello()
1670 ssl, mbedtls_ssl_sig_from_pk_alg(sig_alg)); in ssl_parse_client_hello()
1675 "%u - should not happen", (unsigned) sig_alg)); in ssl_parse_client_hello()
2463 const uint16_t *sig_alg = mbedtls_ssl_get_sig_algs(ssl); in ssl_write_certificate_request() local
2464 if (sig_alg == NULL) { in ssl_write_certificate_request()
2468 for (; *sig_alg != MBEDTLS_TLS_SIG_NONE; sig_alg++) { in ssl_write_certificate_request()
2469 unsigned char hash = MBEDTLS_BYTE_1(*sig_alg); in ssl_write_certificate_request()
2474 if (!mbedtls_ssl_sig_alg_is_supported(ssl, *sig_alg)) { in ssl_write_certificate_request()
2482 MBEDTLS_PUT_UINT16_BE(*sig_alg, p, sa_len); in ssl_write_certificate_request()
3056 mbedtls_pk_type_t sig_alg = in ssl_prepare_server_key_exchange() local
3061 ssl, mbedtls_ssl_sig_from_pk_alg(sig_alg)); in ssl_prepare_server_key_exchange()
3067 if (sig_alg == MBEDTLS_PK_NONE || md_alg == MBEDTLS_MD_NONE) { in ssl_prepare_server_key_exchange()
3114 ssl->out_msg[ssl->out_msglen++] = mbedtls_ssl_sig_from_pk_alg(sig_alg); in ssl_prepare_server_key_exchange()