Home
last modified time | relevance | path

Searched refs:SSL_IS_DTLS (Results 1 – 15 of 15) sorted by relevance

/third_party/openssl/ssl/statem/
Dstatem.c326 if (SSL_IS_DTLS(s) && BIO_dgram_is_sctp(SSL_get_wbio(s))) { in state_machine()
356 if (SSL_IS_DTLS(s)) { in state_machine()
409 if (!SSL_IS_DTLS(s) || !BIO_dgram_is_sctp(SSL_get_wbio(s))) in state_machine()
467 if (SSL_IS_DTLS(s) && BIO_dgram_is_sctp(SSL_get_wbio(s))) { in state_machine()
573 if (SSL_IS_DTLS(s)) { in read_state_machine()
608 if (!SSL_IS_DTLS(s) in read_state_machine()
621 if (!SSL_IS_DTLS(s)) { in read_state_machine()
647 if (SSL_IS_DTLS(s)) { in read_state_machine()
679 if (SSL_IS_DTLS(s)) { in read_state_machine()
704 if (SSL_IS_DTLS(s)) in statem_do_write()
[all …]
Dstatem_lib.c116 if (SSL_IS_DTLS(s)) { in tls_setup_handshake()
154 if (SSL_IS_DTLS(s)) in tls_setup_handshake()
710 if (SSL_IS_DTLS(s)) { in tls_process_change_cipher_spec()
743 if (SSL_IS_DTLS(s)) { in tls_process_change_cipher_spec()
1038 if (!SSL_IS_DTLS(s) in tls_finish_handshake()
1116 if (SSL_IS_DTLS(s)) { in tls_finish_handshake()
1406 int dtls = SSL_IS_DTLS(s); in version_cmp()
1723 } else if (!SSL_IS_DTLS(s) in check_for_downgrade()
1802 if (suppversions->present && !SSL_IS_DTLS(s)) { in ssl_choose_server_version()
1954 if (SSL_IS_DTLS(s) ? DTLS_VERSION_LT(s->version, ver_min) in ssl_choose_client_version()
[all …]
Dstatem_clnt.c169 if (!SSL_IS_DTLS(s) && s->post_handshake_auth == SSL_PHA_EXT_SENT) { in ossl_statem_client13_read_transition()
226 if (SSL_IS_DTLS(s)) { in ossl_statem_client_read_transition()
258 if (SSL_IS_DTLS(s) && mt == DTLS1_MT_HELLO_VERIFY_REQUEST) { in ossl_statem_client_read_transition()
379 if (SSL_IS_DTLS(s) && mt == SSL3_MT_CHANGE_CIPHER_SPEC) { in ossl_statem_client_read_transition()
614 if (!SSL_IS_DTLS(s) && s->s3->npn_seen) in ossl_statem_client_write_transition()
678 if (SSL_IS_DTLS(s)) { in ossl_statem_client_pre_work()
688 if (SSL_IS_DTLS(s)) { in ossl_statem_client_pre_work()
762 if (SSL_IS_DTLS(s)) { in ossl_statem_client_post_work()
819 if (SSL_IS_DTLS(s)) { in ossl_statem_client_post_work()
837 if (wst == WORK_MORE_A && SSL_IS_DTLS(s) && s->hit == 0) { in ossl_statem_client_post_work()
[all …]
Dstatem_srvr.c297 if (SSL_IS_DTLS(s) && mt == SSL3_MT_CHANGE_CIPHER_SPEC) { in ossl_statem_server_read_transition()
584 if (SSL_IS_DTLS(s) && !s->d1->cookie_verified in ossl_statem_server_write_transition()
692 if (SSL_IS_DTLS(s)) in ossl_statem_server_pre_work()
698 if (SSL_IS_DTLS(s)) { in ossl_statem_server_pre_work()
706 if (SSL_IS_DTLS(s)) { in ossl_statem_server_pre_work()
717 if (SSL_IS_DTLS(s) && BIO_dgram_is_sctp(SSL_get_wbio(s))) { in ossl_statem_server_pre_work()
734 } if (SSL_IS_DTLS(s)) { in ossl_statem_server_pre_work()
759 if (SSL_IS_DTLS(s)) { in ossl_statem_server_pre_work()
851 if (SSL_IS_DTLS(s) && s->hit) { in ossl_statem_server_post_work()
919 if (SSL_IS_DTLS(s) && !s->hit) { in ossl_statem_server_post_work()
[all …]
Dextensions.c403 if (SSL_IS_DTLS(s)) { in validate_context()
518 if ((SSL_IS_DTLS(s) in extension_is_relevant()
785 && (SSL_IS_DTLS(s) || max_version < TLS1_3_VERSION))) in should_add_extension()
/third_party/openssl/ssl/record/
Dssl3_buffer.c45 if (SSL_IS_DTLS(s)) in ssl3_setup_read_buffer()
91 if (SSL_IS_DTLS(s)) in ssl3_setup_write_buffer()
Drec_layer_s3.c246 if (SSL_IS_DTLS(s)) { in ssl3_read_n()
272 if (!s->rlayer.read_ahead && !SSL_IS_DTLS(s)) in ssl3_read_n()
307 if (s->mode & SSL_MODE_RELEASE_BUFFERS && !SSL_IS_DTLS(s)) in ssl3_read_n()
318 if (SSL_IS_DTLS(s)) { in ssl3_read_n()
546 if (s->mode & SSL_MODE_RELEASE_BUFFERS && !SSL_IS_DTLS(s)) in ssl3_write_bytes()
640 && !SSL_IS_DTLS(s)) in ssl3_write_bytes()
1174 if (SSL_IS_DTLS(s)) { in ssl3_write_pending()
Dssl3_record.c1040 if (SSL_IS_DTLS(s)) { in tls1_enc()
1317 if (SSL_IS_DTLS(ssl)) { in tls1_mac()
1381 if (!SSL_IS_DTLS(ssl)) { in tls1_mac()
/third_party/openssl/ssl/
Dt1_enc.c148 if (!SSL_IS_DTLS(s)) in tls1_change_cipher_state()
163 if (s->enc_write_ctx != NULL && !SSL_IS_DTLS(s)) { in tls1_change_cipher_state()
171 if (SSL_IS_DTLS(s)) { in tls1_change_cipher_state()
205 if (!SSL_IS_DTLS(s)) in tls1_change_cipher_state()
Dt1_trce.c949 if (SSL_IS_DTLS(ssl)) { in ssl_print_client_hello()
1417 if (SSL_IS_DTLS(ssl)) { in ssl_print_handshake()
1522 if (msglen < (size_t)(SSL_IS_DTLS(ssl) ? in SSL_trace()
1532 if (SSL_IS_DTLS(ssl)) { in SSL_trace()
Dssl_local.h319 # define SSL_IS_DTLS(s) (s->method->ssl3_enc->enc_flags & SSL_ENC_FLAG_DTLS) macro
322 # define SSL_IS_TLS13(s) (!SSL_IS_DTLS(s) \
356 ((!SSL_IS_DTLS(s) && s->client_version >= TLS1_2_VERSION) || \
357 (SSL_IS_DTLS(s) && DTLS_VERSION_GE(s->client_version, DTLS1_2_VERSION)))
Dt1_lib.c1220 if (!SSL_IS_DTLS(s)) { in ssl_cipher_disabled()
1234 if (SSL_IS_DTLS(s) && (DTLS_VERSION_GT(c->min_dtls, s->s3->tmp.max_ver) in ssl_cipher_disabled()
1605 if (!s->server && !SSL_IS_DTLS(s) && s->s3->tmp.min_ver >= TLS1_3_VERSION in tls12_sigalg_allowed()
Dssl_cert.c930 if (!SSL_IS_DTLS(s)) { in ssl_security_default_callback()
Ds3_lib.c4242 if (!SSL_IS_DTLS(s) && in ssl3_choose_cipher()
4245 if (SSL_IS_DTLS(s) && in ssl3_choose_cipher()
Dssl_lib.c863 return SSL_IS_DTLS(s) ? 1 : 0; in SSL_is_dtls()