• Home
  • Raw
  • Download

Lines Matching refs:SSL_HANDSHAKE

134 static bool ssl_check_clienthello_tlsext(SSL_HANDSHAKE *hs);
295 Span<const uint16_t> tls1_get_grouplist(const SSL_HANDSHAKE *hs) { in tls1_get_grouplist()
302 bool tls1_get_shared_group(SSL_HANDSHAKE *hs, uint16_t *out_group_id) { in tls1_get_shared_group()
392 bool tls1_check_group_id(const SSL_HANDSHAKE *hs, uint16_t group_id) { in tls1_check_group_id()
565 void (*init)(SSL_HANDSHAKE *hs);
567 bool (*add_clienthello)(SSL_HANDSHAKE *hs, CBB *out);
568 bool (*parse_serverhello)(SSL_HANDSHAKE *hs, uint8_t *out_alert,
571 bool (*parse_clienthello)(SSL_HANDSHAKE *hs, uint8_t *out_alert,
573 bool (*add_serverhello)(SSL_HANDSHAKE *hs, CBB *out);
576 static bool forbid_parse_serverhello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in forbid_parse_serverhello()
588 static bool ignore_parse_clienthello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ignore_parse_clienthello()
594 static bool dont_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in dont_add_serverhello()
602 static bool ext_sni_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_sni_add_clienthello()
623 static bool ext_sni_parse_serverhello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_sni_parse_serverhello()
630 static bool ext_sni_parse_clienthello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_sni_parse_clienthello()
674 static bool ext_sni_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_sni_add_serverhello()
693 static bool ext_ri_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ri_add_clienthello()
716 static bool ext_ri_parse_serverhello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_ri_parse_serverhello()
799 static bool ext_ri_parse_clienthello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_ri_parse_clienthello()
834 static bool ext_ri_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ri_add_serverhello()
858 static bool ext_ems_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ems_add_clienthello()
872 static bool ext_ems_parse_serverhello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_ems_parse_serverhello()
897 static bool ext_ems_parse_clienthello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_ems_parse_clienthello()
915 static bool ext_ems_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ems_add_serverhello()
933 static bool ext_ticket_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ticket_add_clienthello()
966 static bool ext_ticket_parse_serverhello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_ticket_parse_serverhello()
990 static bool ext_ticket_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ticket_add_serverhello()
1011 static bool ext_sigalgs_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_sigalgs_add_clienthello()
1041 static bool ext_sigalgs_parse_clienthello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_sigalgs_parse_clienthello()
1063 static bool ext_sigalgs_cert_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_sigalgs_cert_add_clienthello()
1092 static bool ext_ocsp_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ocsp_add_clienthello()
1110 static bool ext_ocsp_parse_serverhello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_ocsp_parse_serverhello()
1136 static bool ext_ocsp_parse_clienthello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_ocsp_parse_clienthello()
1154 static bool ext_ocsp_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ocsp_add_serverhello()
1174 static bool ext_npn_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_npn_add_clienthello()
1190 static bool ext_npn_parse_serverhello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_npn_parse_serverhello()
1241 static bool ext_npn_parse_clienthello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_npn_parse_clienthello()
1263 static bool ext_npn_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_npn_add_serverhello()
1297 static bool ext_sct_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_sct_add_clienthello()
1310 static bool ext_sct_parse_serverhello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_sct_parse_serverhello()
1349 static bool ext_sct_parse_clienthello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_sct_parse_clienthello()
1363 static bool ext_sct_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_sct_add_serverhello()
1388 static bool ext_alpn_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_alpn_add_clienthello()
1408 static bool ext_alpn_parse_serverhello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_alpn_parse_serverhello()
1451 bool ssl_is_alpn_protocol_allowed(const SSL_HANDSHAKE *hs, in ssl_is_alpn_protocol_allowed()
1479 bool ssl_negotiate_alpn(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ssl_negotiate_alpn()
1538 static bool ext_alpn_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_alpn_add_serverhello()
1563 static void ext_channel_id_init(SSL_HANDSHAKE *hs) { in ext_channel_id_init()
1567 static bool ext_channel_id_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_channel_id_add_clienthello()
1581 static bool ext_channel_id_parse_serverhello(SSL_HANDSHAKE *hs, in ext_channel_id_parse_serverhello()
1600 static bool ext_channel_id_parse_clienthello(SSL_HANDSHAKE *hs, in ext_channel_id_parse_clienthello()
1616 static bool ext_channel_id_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_channel_id_add_serverhello()
1636 static void ext_srtp_init(SSL_HANDSHAKE *hs) { in ext_srtp_init()
1640 static bool ext_srtp_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_srtp_add_clienthello()
1669 static bool ext_srtp_parse_serverhello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_srtp_parse_serverhello()
1714 static bool ext_srtp_parse_clienthello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_srtp_parse_clienthello()
1755 static bool ext_srtp_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_srtp_add_serverhello()
1779 static bool ext_ec_point_add_extension(SSL_HANDSHAKE *hs, CBB *out) { in ext_ec_point_add_extension()
1792 static bool ext_ec_point_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ec_point_add_clienthello()
1801 static bool ext_ec_point_parse_serverhello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_ec_point_parse_serverhello()
1829 static bool ext_ec_point_parse_clienthello(SSL_HANDSHAKE *hs, uint8_t *out_alert, in ext_ec_point_parse_clienthello()
1838 static bool ext_ec_point_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_ec_point_add_serverhello()
1860 static size_t ext_pre_shared_key_clienthello_length(SSL_HANDSHAKE *hs) { in ext_pre_shared_key_clienthello_length()
1871 static bool ext_pre_shared_key_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_pre_shared_key_add_clienthello()
1915 bool ssl_ext_pre_shared_key_parse_serverhello(SSL_HANDSHAKE *hs, in ssl_ext_pre_shared_key_parse_serverhello()
1937 SSL_HANDSHAKE *hs, CBS *out_ticket, CBS *out_binders, in ssl_ext_pre_shared_key_parse_clienthello()
1992 bool ssl_ext_pre_shared_key_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ssl_ext_pre_shared_key_add_serverhello()
2014 static bool ext_psk_key_exchange_modes_add_clienthello(SSL_HANDSHAKE *hs, in ext_psk_key_exchange_modes_add_clienthello()
2031 static bool ext_psk_key_exchange_modes_parse_clienthello(SSL_HANDSHAKE *hs, in ext_psk_key_exchange_modes_parse_clienthello()
2058 static bool ext_early_data_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_early_data_add_clienthello()
2085 static bool ext_early_data_parse_serverhello(SSL_HANDSHAKE *hs, in ext_early_data_parse_serverhello()
2107 static bool ext_early_data_parse_clienthello(SSL_HANDSHAKE *hs, in ext_early_data_parse_clienthello()
2124 static bool ext_early_data_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_early_data_add_serverhello()
2143 static bool ext_key_share_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_key_share_add_clienthello()
2229 bool ssl_ext_key_share_parse_serverhello(SSL_HANDSHAKE *hs, in ssl_ext_key_share_parse_serverhello()
2263 bool ssl_ext_key_share_parse_clienthello(SSL_HANDSHAKE *hs, bool *out_found, in ssl_ext_key_share_parse_clienthello()
2328 bool ssl_ext_key_share_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ssl_ext_key_share_add_serverhello()
2353 static bool ext_supported_versions_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_supported_versions_add_clienthello()
2385 static bool ext_cookie_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_cookie_add_clienthello()
2410 static bool ext_supported_groups_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_supported_groups_add_clienthello()
2439 static bool ext_supported_groups_parse_serverhello(SSL_HANDSHAKE *hs, in ext_supported_groups_parse_serverhello()
2470 static bool ext_supported_groups_parse_clienthello(SSL_HANDSHAKE *hs, in ext_supported_groups_parse_clienthello()
2499 static bool ext_token_binding_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in ext_token_binding_add_clienthello()
2519 static bool ext_token_binding_parse_serverhello(SSL_HANDSHAKE *hs, in ext_token_binding_parse_serverhello()
2567 static bool select_tb_param(SSL_HANDSHAKE *hs, in select_tb_param()
2580 static bool ext_token_binding_parse_clienthello(SSL_HANDSHAKE *hs, in ext_token_binding_parse_clienthello()
2616 static bool ext_token_binding_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in ext_token_binding_add_serverhello()
2638 static bool ext_quic_transport_params_add_clienthello(SSL_HANDSHAKE *hs, in ext_quic_transport_params_add_clienthello()
2656 static bool ext_quic_transport_params_parse_serverhello(SSL_HANDSHAKE *hs, in ext_quic_transport_params_parse_serverhello()
2672 static bool ext_quic_transport_params_parse_clienthello(SSL_HANDSHAKE *hs, in ext_quic_transport_params_parse_clienthello()
2687 static bool ext_quic_transport_params_add_serverhello(SSL_HANDSHAKE *hs, in ext_quic_transport_params_add_serverhello()
2709 static bool ext_delegated_credential_add_clienthello(SSL_HANDSHAKE *hs, in ext_delegated_credential_add_clienthello()
2714 static bool ext_delegated_credential_parse_clienthello(SSL_HANDSHAKE *hs, in ext_delegated_credential_parse_clienthello()
2737 static bool cert_compression_add_clienthello(SSL_HANDSHAKE *hs, CBB *out) { in cert_compression_add_clienthello()
2760 static bool cert_compression_parse_serverhello(SSL_HANDSHAKE *hs, in cert_compression_parse_serverhello()
2772 static bool cert_compression_parse_clienthello(SSL_HANDSHAKE *hs, in cert_compression_parse_clienthello()
2839 static bool cert_compression_add_serverhello(SSL_HANDSHAKE *hs, CBB *out) { in cert_compression_add_serverhello()
3036 sizeof(((SSL_HANDSHAKE *)NULL)->extensions.sent) * 8,
3039 sizeof(((SSL_HANDSHAKE *)NULL)->extensions.received) * 8,
3055 bool ssl_add_clienthello_tlsext(SSL_HANDSHAKE *hs, CBB *out, in ssl_add_clienthello_tlsext()
3185 bool ssl_add_serverhello_tlsext(SSL_HANDSHAKE *hs, CBB *out) { in ssl_add_serverhello_tlsext()
3218 static bool ssl_scan_clienthello_tlsext(SSL_HANDSHAKE *hs, in ssl_scan_clienthello_tlsext()
3290 bool ssl_parse_clienthello_tlsext(SSL_HANDSHAKE *hs, in ssl_parse_clienthello_tlsext()
3307 static bool ssl_scan_serverhello_tlsext(SSL_HANDSHAKE *hs, CBS *cbs, in ssl_scan_serverhello_tlsext()
3385 static bool ssl_check_clienthello_tlsext(SSL_HANDSHAKE *hs) { in ssl_check_clienthello_tlsext()
3420 bool ssl_parse_serverhello_tlsext(SSL_HANDSHAKE *hs, CBS *cbs) { in ssl_parse_serverhello_tlsext()
3486 SSL_HANDSHAKE *hs, Array<uint8_t> *out, bool *out_renew_ticket, in ssl_decrypt_ticket_with_cb()
3514 SSL_HANDSHAKE *hs, Array<uint8_t> *out, Span<const uint8_t> ticket) { in ssl_decrypt_ticket_with_ticket_keys()
3553 SSL_HANDSHAKE *hs, Array<uint8_t> *out, bool *out_renew_ticket, in ssl_decrypt_ticket_with_method()
3576 SSL_HANDSHAKE *hs, UniquePtr<SSL_SESSION> *out_session, in ssl_process_ticket()
3629 bool tls1_parse_peer_sigalgs(SSL_HANDSHAKE *hs, const CBS *in_sigalgs) { in tls1_parse_peer_sigalgs()
3654 bool tls1_choose_signature_algorithm(SSL_HANDSHAKE *hs, uint16_t *out) { in tls1_choose_signature_algorithm()
3698 Span<const uint16_t> tls1_get_peer_verify_algorithms(const SSL_HANDSHAKE *hs) { in tls1_get_peer_verify_algorithms()
3711 bool tls1_verify_channel_id(SSL_HANDSHAKE *hs, const SSLMessage &msg) { in tls1_verify_channel_id()
3779 bool tls1_write_channel_id(SSL_HANDSHAKE *hs, CBB *cbb) { in tls1_write_channel_id()
3819 bool tls1_channel_id_hash(SSL_HANDSHAKE *hs, uint8_t *out, size_t *out_len) { in tls1_channel_id_hash()
3860 bool tls1_record_handshake_hashes_for_channel_id(SSL_HANDSHAKE *hs) { in tls1_record_handshake_hashes_for_channel_id()
3886 bool ssl_do_channel_id_callback(SSL_HANDSHAKE *hs) { in ssl_do_channel_id_callback()