• Home
  • Raw
  • Download

Lines Matching refs:SSL

206 bool ssl_client_hello_init(const SSL *ssl, SSL_CLIENT_HELLO *out,  in ssl_client_hello_init()
209 out->ssl = const_cast<SSL *>(ssl); in ssl_client_hello_init()
307 SSL *const ssl = hs->ssl; in tls1_get_shared_group()
506 static SSLSignatureAlgorithmList tls12_get_verify_sigalgs(const SSL *ssl, in tls12_get_verify_sigalgs()
521 bool tls12_add_verify_sigalgs(const SSL *ssl, CBB *out, bool for_certs) { in tls12_add_verify_sigalgs()
532 bool tls12_check_peer_sigalg(const SSL *ssl, uint8_t *out_alert, in tls12_check_peer_sigalg()
542 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SIGNATURE_TYPE); in tls12_check_peer_sigalg()
547 bool tls12_has_different_verify_sigalgs_for_certs(const SSL *ssl) { in tls12_has_different_verify_sigalgs_for_certs()
585 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_EXTENSION); in forbid_parse_serverhello()
607 SSL *const ssl = hs->ssl; in ext_sni_add_clienthello()
660 SSL *const ssl = hs->ssl; in ext_ri_add_clienthello()
684 SSL *const ssl = hs->ssl; in ext_ri_parse_serverhello()
695 OPENSSL_PUT_ERROR(SSL, SSL_R_RENEGOTIATION_MISMATCH); in ext_ri_parse_serverhello()
725 OPENSSL_PUT_ERROR(SSL, SSL_R_RENEGOTIATION_ENCODING_ERR); in ext_ri_parse_serverhello()
732 OPENSSL_PUT_ERROR(SSL, SSL_R_RENEGOTIATION_MISMATCH); in ext_ri_parse_serverhello()
744 OPENSSL_PUT_ERROR(SSL, SSL_R_RENEGOTIATION_MISMATCH); in ext_ri_parse_serverhello()
756 OPENSSL_PUT_ERROR(SSL, SSL_R_RENEGOTIATION_MISMATCH); in ext_ri_parse_serverhello()
767 SSL *const ssl = hs->ssl; in ext_ri_parse_clienthello()
783 OPENSSL_PUT_ERROR(SSL, SSL_R_RENEGOTIATION_ENCODING_ERR); in ext_ri_parse_clienthello()
790 OPENSSL_PUT_ERROR(SSL, SSL_R_RENEGOTIATION_MISMATCH); in ext_ri_parse_clienthello()
801 SSL *const ssl = hs->ssl; in ext_ri_add_serverhello()
840 SSL *const ssl = hs->ssl; in ext_ems_parse_serverhello()
855 OPENSSL_PUT_ERROR(SSL, SSL_R_RENEGOTIATION_EMS_MISMATCH); in ext_ems_parse_serverhello()
900 SSL *const ssl = hs->ssl; in ext_ticket_add_clienthello()
934 SSL *const ssl = hs->ssl; in ext_ticket_parse_serverhello()
978 SSL *const ssl = hs->ssl; in ext_sigalgs_add_clienthello()
1030 SSL *const ssl = hs->ssl; in ext_sigalgs_cert_add_clienthello()
1078 SSL *const ssl = hs->ssl; in ext_ocsp_parse_serverhello()
1121 SSL *const ssl = hs->ssl; in ext_ocsp_add_serverhello()
1141 SSL *const ssl = hs->ssl; in ext_npn_add_clienthello()
1158 SSL *const ssl = hs->ssl; in ext_npn_parse_serverhello()
1177 OPENSSL_PUT_ERROR(SSL, SSL_R_NEGOTIATED_BOTH_NPN_AND_ALPN); in ext_npn_parse_serverhello()
1209 SSL *const ssl = hs->ssl; in ext_npn_parse_clienthello()
1230 SSL *const ssl = hs->ssl; in ext_npn_add_serverhello()
1278 SSL *const ssl = hs->ssl; in ext_sct_parse_serverhello()
1330 SSL *const ssl = hs->ssl; in ext_sct_add_serverhello()
1355 SSL *const ssl = hs->ssl; in ext_alpn_add_clienthello()
1376 SSL *const ssl = hs->ssl; in ext_alpn_parse_serverhello()
1387 OPENSSL_PUT_ERROR(SSL, SSL_R_NEGOTIATED_BOTH_NPN_AND_ALPN); in ext_alpn_parse_serverhello()
1404 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_ALPN_PROTOCOL); in ext_alpn_parse_serverhello()
1447 SSL *const ssl = hs->ssl; in ssl_negotiate_alpn()
1464 OPENSSL_PUT_ERROR(SSL, SSL_R_PARSE_TLSEXT); in ssl_negotiate_alpn()
1477 OPENSSL_PUT_ERROR(SSL, SSL_R_PARSE_TLSEXT); in ssl_negotiate_alpn()
1490 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_ALPN_PROTOCOL); in ssl_negotiate_alpn()
1505 SSL *const ssl = hs->ssl; in ext_alpn_add_serverhello()
1534 SSL *const ssl = hs->ssl; in ext_channel_id_add_clienthello()
1550 SSL *const ssl = hs->ssl; in ext_channel_id_parse_serverhello()
1569 SSL *const ssl = hs->ssl; in ext_channel_id_parse_clienthello()
1583 SSL *const ssl = hs->ssl; in ext_channel_id_add_serverhello()
1607 SSL *const ssl = hs->ssl; in ext_srtp_add_clienthello()
1637 SSL *const ssl = hs->ssl; in ext_srtp_parse_serverhello()
1653 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_SRTP_PROTECTION_PROFILE_LIST); in ext_srtp_parse_serverhello()
1659 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_SRTP_MKI_VALUE); in ext_srtp_parse_serverhello()
1675 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_SRTP_PROTECTION_PROFILE_LIST); in ext_srtp_parse_serverhello()
1682 SSL *const ssl = hs->ssl; in ext_srtp_parse_clienthello()
1692 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_SRTP_PROTECTION_PROFILE_LIST); in ext_srtp_parse_clienthello()
1722 SSL *const ssl = hs->ssl; in ext_srtp_add_serverhello()
1805 SSL *const ssl = hs->ssl; in ext_ec_point_add_serverhello()
1827 SSL *const ssl = hs->ssl; in ext_pre_shared_key_clienthello_length()
1838 SSL *const ssl = hs->ssl; in ext_pre_shared_key_add_clienthello()
1887 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl_ext_pre_shared_key_parse_serverhello()
1894 OPENSSL_PUT_ERROR(SSL, SSL_R_PSK_IDENTITY_NOT_FOUND); in ssl_ext_pre_shared_key_parse_serverhello()
1910 OPENSSL_PUT_ERROR(SSL, SSL_R_PRE_SHARED_KEY_MUST_BE_LAST); in ssl_ext_pre_shared_key_parse_clienthello()
1923 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl_ext_pre_shared_key_parse_clienthello()
1937 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl_ext_pre_shared_key_parse_clienthello()
1951 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl_ext_pre_shared_key_parse_clienthello()
1960 OPENSSL_PUT_ERROR(SSL, SSL_R_PSK_IDENTITY_BINDER_COUNT_MISMATCH); in ssl_ext_pre_shared_key_parse_clienthello()
2035 SSL *const ssl = hs->ssl; in ext_early_data_add_clienthello()
2090 SSL *const ssl = hs->ssl; in ext_early_data_parse_serverhello()
2116 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_EXTENSION); in ext_early_data_parse_serverhello()
2127 SSL *const ssl = hs->ssl; in ext_early_data_parse_clienthello()
2162 SSL *const ssl = hs->ssl; in ext_key_share_add_clienthello()
2201 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_GROUPS_SPECIFIED); in ext_key_share_add_clienthello()
2255 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl_ext_key_share_parse_serverhello()
2264 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_CURVE); in ssl_ext_key_share_parse_serverhello()
2287 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_SHARED_GROUP); in ssl_ext_key_share_parse_clienthello()
2294 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl_ext_key_share_parse_clienthello()
2307 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in ssl_ext_key_share_parse_clienthello()
2313 OPENSSL_PUT_ERROR(SSL, SSL_R_DUPLICATE_KEY_SHARE); in ssl_ext_key_share_parse_clienthello()
2372 SSL *const ssl = hs->ssl; in ext_supported_versions_add_clienthello()
2429 SSL *const ssl = hs->ssl; in ext_supported_groups_add_clienthello()
2468 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in parse_u16_array()
2478 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in parse_u16_array()
2518 SSL *const ssl = hs->ssl; in ext_token_binding_add_clienthello()
2540 SSL *const ssl = hs->ssl; in ext_token_binding_parse_serverhello()
2601 SSL *const ssl = hs->ssl; in ext_token_binding_parse_clienthello()
2635 SSL *const ssl = hs->ssl; in ext_token_binding_add_serverhello()
2677 SSL *const ssl = hs->ssl; in ext_quic_transport_params_parse_serverhello()
2693 SSL *const ssl = hs->ssl; in ext_quic_transport_params_parse_clienthello()
3140 SSL *const ssl = hs->ssl; in ssl_add_clienthello_tlsext()
3143 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl_add_clienthello_tlsext()
3164 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl_add_clienthello_tlsext()
3173 OPENSSL_PUT_ERROR(SSL, SSL_R_ERROR_ADDING_EXTENSION); in ssl_add_clienthello_tlsext()
3201 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl_add_clienthello_tlsext()
3249 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl_add_clienthello_tlsext()
3259 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl_add_clienthello_tlsext()
3272 SSL *const ssl = hs->ssl; in ssl_add_serverhello_tlsext()
3285 OPENSSL_PUT_ERROR(SSL, SSL_R_ERROR_ADDING_EXTENSION); in ssl_add_serverhello_tlsext()
3300 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl_add_serverhello_tlsext()
3338 OPENSSL_PUT_ERROR(SSL, SSL_R_ERROR_PARSING_EXTENSION); in ssl_scan_clienthello_tlsext()
3366 OPENSSL_PUT_ERROR(SSL, SSL_R_MISSING_EXTENSION); in ssl_scan_clienthello_tlsext()
3378 SSL *const ssl = hs->ssl; in ssl_parse_clienthello_tlsext()
3386 OPENSSL_PUT_ERROR(SSL, SSL_R_CLIENTHELLO_TLSEXT); in ssl_parse_clienthello_tlsext()
3395 SSL *const ssl = hs->ssl; in ssl_scan_serverhello_tlsext()
3426 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_EXTENSION); in ssl_scan_serverhello_tlsext()
3437 OPENSSL_PUT_ERROR(SSL, SSL_R_UNEXPECTED_EXTENSION); in ssl_scan_serverhello_tlsext()
3447 OPENSSL_PUT_ERROR(SSL, SSL_R_ERROR_PARSING_EXTENSION); in ssl_scan_serverhello_tlsext()
3460 OPENSSL_PUT_ERROR(SSL, SSL_R_MISSING_EXTENSION); in ssl_scan_serverhello_tlsext()
3472 SSL *const ssl = hs->ssl; in ssl_check_clienthello_tlsext()
3477 OPENSSL_PUT_ERROR(SSL, SSL_R_NEGOTIATED_TB_WITHOUT_EMS_OR_RI); in ssl_check_clienthello_tlsext()
3507 SSL *const ssl = hs->ssl; in ssl_parse_serverhello_tlsext()
3643 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in ssl_decrypt_ticket_with_method()
3741 SSL *const ssl = hs->ssl; in tls1_choose_signature_algorithm()
3749 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_COMMON_SIGNATURE_ALGORITHMS); in tls1_choose_signature_algorithm()
3780 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_COMMON_SIGNATURE_ALGORITHMS); in tls1_choose_signature_algorithm()
3798 SSL *const ssl = hs->ssl; in tls1_verify_channel_id()
3808 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR); in tls1_verify_channel_id()
3815 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_P256_SUPPORT); in tls1_verify_channel_id()
3855 OPENSSL_PUT_ERROR(SSL, SSL_R_CHANNEL_ID_SIGNATURE_INVALID); in tls1_verify_channel_id()
3874 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in tls1_write_channel_id()
3906 SSL *const ssl = hs->ssl; in tls1_channel_id_hash()
3928 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in tls1_channel_id_hash()
3947 SSL *const ssl = hs->ssl; in tls1_record_handshake_hashes_for_channel_id()