Home
last modified time | relevance | path

Searched refs:hand_state (Results 1 – 7 of 7) sorted by relevance

/third_party/openssl/ssl/statem/
Dstatem_clnt.c95 switch (st->hand_state) { in ossl_statem_client13_read_transition()
105 st->hand_state = TLS_ST_CR_SRVR_HELLO; in ossl_statem_client13_read_transition()
112 st->hand_state = TLS_ST_CR_ENCRYPTED_EXTENSIONS; in ossl_statem_client13_read_transition()
120 st->hand_state = TLS_ST_CR_FINISHED; in ossl_statem_client13_read_transition()
125 st->hand_state = TLS_ST_CR_CERT_REQ; in ossl_statem_client13_read_transition()
129 st->hand_state = TLS_ST_CR_CERT; in ossl_statem_client13_read_transition()
137 st->hand_state = TLS_ST_CR_CERT; in ossl_statem_client13_read_transition()
144 st->hand_state = TLS_ST_CR_CERT_VRFY; in ossl_statem_client13_read_transition()
151 st->hand_state = TLS_ST_CR_FINISHED; in ossl_statem_client13_read_transition()
158 st->hand_state = TLS_ST_CR_SESSION_TICKET; in ossl_statem_client13_read_transition()
[all …]
Dstatem.c68 return ssl->statem.hand_state; in SSL_get_state()
78 return !(s->statem.in_init) && (s->statem.hand_state == TLS_ST_OK); in SSL_is_init_finished()
90 return (s->statem.hand_state == TLS_ST_BEFORE) in SSL_in_before()
100 s->statem.hand_state = TLS_ST_BEFORE; in ossl_statem_clear()
185 || s->statem.hand_state != TLS_ST_EARLY_DATA in ossl_statem_skip_early_data()
203 if (s->statem.hand_state == TLS_ST_PENDING_EARLY_DATA_END in ossl_statem_check_finish_init()
204 || s->statem.hand_state == TLS_ST_EARLY_DATA) { in ossl_statem_check_finish_init()
215 if ((sending && (s->statem.hand_state == TLS_ST_PENDING_EARLY_DATA_END in ossl_statem_check_finish_init()
216 || s->statem.hand_state == TLS_ST_EARLY_DATA) in ossl_statem_check_finish_init()
218 || (!sending && s->statem.hand_state == TLS_ST_EARLY_DATA)) { in ossl_statem_check_finish_init()
[all …]
Dstatem_srvr.c64 switch (st->hand_state) { in ossl_statem_server13_read_transition()
71 st->hand_state = TLS_ST_SR_CLNT_HELLO; in ossl_statem_server13_read_transition()
77 st->hand_state = TLS_ST_SR_END_OF_EARLY_DATA; in ossl_statem_server13_read_transition()
88 st->hand_state = TLS_ST_SR_CERT; in ossl_statem_server13_read_transition()
93 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
102 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
107 st->hand_state = TLS_ST_SR_CERT_VRFY; in ossl_statem_server13_read_transition()
115 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
130 st->hand_state = TLS_ST_SR_CERT; in ossl_statem_server13_read_transition()
135 st->hand_state = TLS_ST_SR_KEY_UPDATE; in ossl_statem_server13_read_transition()
[all …]
Dstatem_lib.c56 if (!SSL_IS_TLS13(s) || (s->statem.hand_state != TLS_ST_SW_SESSION_TICKET in ssl3_do_write()
57 && s->statem.hand_state != TLS_ST_CW_KEY_UPDATE in ssl3_do_write()
58 && s->statem.hand_state != TLS_ST_SW_KEY_UPDATE)) in ssl3_do_write()
190 if (s->statem.hand_state == TLS_ST_CR_CERT_VRFY in get_cert_verify_tbs_data()
191 || s->statem.hand_state == TLS_ST_SW_CERT_VRFY) in get_cert_verify_tbs_data()
201 if (s->statem.hand_state == TLS_ST_CR_CERT_VRFY in get_cert_verify_tbs_data()
202 || s->statem.hand_state == TLS_ST_SR_CERT_VRFY) { in get_cert_verify_tbs_data()
1179 if (s->statem.hand_state == TLS_ST_BEFORE in tls_get_message_header()
1206 if (s->statem.hand_state != TLS_ST_OK in tls_get_message_header()
Dstatem.h104 OSSL_HANDSHAKE_STATE hand_state; member
Dstatem_dtls.c827 && s->statem.hand_state != TLS_ST_OK in dtls_get_reassembled_message()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_types.h140 int hand_state; member