Home
last modified time | relevance | path

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

/third_party/node/deps/openssl/openssl/ssl/statem/
Dstatem_clnt.c99 switch (st->hand_state) { in ossl_statem_client13_read_transition()
109 st->hand_state = TLS_ST_CR_SRVR_HELLO; in ossl_statem_client13_read_transition()
116 st->hand_state = TLS_ST_CR_ENCRYPTED_EXTENSIONS; in ossl_statem_client13_read_transition()
124 st->hand_state = TLS_ST_CR_FINISHED; in ossl_statem_client13_read_transition()
129 st->hand_state = TLS_ST_CR_CERT_REQ; in ossl_statem_client13_read_transition()
133 st->hand_state = TLS_ST_CR_CERT; in ossl_statem_client13_read_transition()
141 st->hand_state = TLS_ST_CR_CERT; in ossl_statem_client13_read_transition()
148 st->hand_state = TLS_ST_CR_CERT_VRFY; in ossl_statem_client13_read_transition()
155 st->hand_state = TLS_ST_CR_FINISHED; in ossl_statem_client13_read_transition()
162 st->hand_state = TLS_ST_CR_SESSION_TICKET; in ossl_statem_client13_read_transition()
[all …]
Dstatem.c73 return ssl->statem.hand_state; in SSL_get_state()
83 return !(s->statem.in_init) && (s->statem.hand_state == TLS_ST_OK); in SSL_is_init_finished()
95 return (s->statem.hand_state == TLS_ST_BEFORE) in SSL_in_before()
105 s->statem.hand_state = TLS_ST_BEFORE; in ossl_statem_clear()
200 || s->statem.hand_state != TLS_ST_EARLY_DATA in ossl_statem_skip_early_data()
218 if (s->statem.hand_state == TLS_ST_PENDING_EARLY_DATA_END in ossl_statem_check_finish_init()
219 || s->statem.hand_state == TLS_ST_EARLY_DATA) { in ossl_statem_check_finish_init()
230 if ((sending && (s->statem.hand_state == TLS_ST_PENDING_EARLY_DATA_END in ossl_statem_check_finish_init()
231 || s->statem.hand_state == TLS_ST_EARLY_DATA) in ossl_statem_check_finish_init()
233 || (!sending && s->statem.hand_state == TLS_ST_EARLY_DATA)) { in ossl_statem_check_finish_init()
[all …]
Dstatem_srvr.c66 switch (st->hand_state) { in ossl_statem_server13_read_transition()
73 st->hand_state = TLS_ST_SR_CLNT_HELLO; in ossl_statem_server13_read_transition()
80 st->hand_state = TLS_ST_SR_END_OF_EARLY_DATA; in ossl_statem_server13_read_transition()
91 st->hand_state = TLS_ST_SR_CERT; in ossl_statem_server13_read_transition()
96 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
105 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
110 st->hand_state = TLS_ST_SR_CERT_VRFY; in ossl_statem_server13_read_transition()
118 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
133 st->hand_state = TLS_ST_SR_CERT; in ossl_statem_server13_read_transition()
138 st->hand_state = TLS_ST_SR_KEY_UPDATE; in ossl_statem_server13_read_transition()
[all …]
Dstatem_lib.c79 if (!SSL_IS_TLS13(s) || (s->statem.hand_state != TLS_ST_SW_SESSION_TICKET in ssl3_do_write()
80 && s->statem.hand_state != TLS_ST_CW_KEY_UPDATE in ssl3_do_write()
81 && s->statem.hand_state != TLS_ST_SW_KEY_UPDATE)) in ssl3_do_write()
255 if (s->statem.hand_state == TLS_ST_CR_CERT_VRFY in get_cert_verify_tbs_data()
256 || s->statem.hand_state == TLS_ST_SW_CERT_VRFY) in get_cert_verify_tbs_data()
266 if (s->statem.hand_state == TLS_ST_CR_CERT_VRFY in get_cert_verify_tbs_data()
267 || s->statem.hand_state == TLS_ST_SR_CERT_VRFY) { in get_cert_verify_tbs_data()
1225 if (s->statem.hand_state == TLS_ST_BEFORE in tls_get_message_header()
1251 if (s->statem.hand_state != TLS_ST_OK in tls_get_message_header()
Dstatem.h104 OSSL_HANDSHAKE_STATE hand_state; member
Dstatem_dtls.c510 || s->statem.hand_state != DTLS_ST_SW_HELLO_VERIFY_REQUEST) { in dtls1_retrieve_buffered_fragment()
883 || s->statem.hand_state != DTLS_ST_SW_HELLO_VERIFY_REQUEST) { in dtls_get_reassembled_message()
902 && s->statem.hand_state != TLS_ST_OK in dtls_get_reassembled_message()
/third_party/openssl/ssl/statem/
Dstatem_clnt.c99 switch (st->hand_state) { in ossl_statem_client13_read_transition()
109 st->hand_state = TLS_ST_CR_SRVR_HELLO; in ossl_statem_client13_read_transition()
116 st->hand_state = TLS_ST_CR_ENCRYPTED_EXTENSIONS; in ossl_statem_client13_read_transition()
124 st->hand_state = TLS_ST_CR_FINISHED; in ossl_statem_client13_read_transition()
129 st->hand_state = TLS_ST_CR_CERT_REQ; in ossl_statem_client13_read_transition()
133 st->hand_state = TLS_ST_CR_CERT; in ossl_statem_client13_read_transition()
141 st->hand_state = TLS_ST_CR_CERT; in ossl_statem_client13_read_transition()
148 st->hand_state = TLS_ST_CR_CERT_VRFY; in ossl_statem_client13_read_transition()
155 st->hand_state = TLS_ST_CR_FINISHED; in ossl_statem_client13_read_transition()
162 st->hand_state = TLS_ST_CR_SESSION_TICKET; in ossl_statem_client13_read_transition()
[all …]
Dstatem.c73 return ssl->statem.hand_state; in SSL_get_state()
83 return !(s->statem.in_init) && (s->statem.hand_state == TLS_ST_OK); in SSL_is_init_finished()
95 return (s->statem.hand_state == TLS_ST_BEFORE) in SSL_in_before()
105 s->statem.hand_state = TLS_ST_BEFORE; in ossl_statem_clear()
200 || s->statem.hand_state != TLS_ST_EARLY_DATA in ossl_statem_skip_early_data()
218 if (s->statem.hand_state == TLS_ST_PENDING_EARLY_DATA_END in ossl_statem_check_finish_init()
219 || s->statem.hand_state == TLS_ST_EARLY_DATA) { in ossl_statem_check_finish_init()
230 if ((sending && (s->statem.hand_state == TLS_ST_PENDING_EARLY_DATA_END in ossl_statem_check_finish_init()
231 || s->statem.hand_state == TLS_ST_EARLY_DATA) in ossl_statem_check_finish_init()
233 || (!sending && s->statem.hand_state == TLS_ST_EARLY_DATA)) { in ossl_statem_check_finish_init()
[all …]
Dstatem_srvr.c66 switch (st->hand_state) { in ossl_statem_server13_read_transition()
73 st->hand_state = TLS_ST_SR_CLNT_HELLO; in ossl_statem_server13_read_transition()
79 st->hand_state = TLS_ST_SR_END_OF_EARLY_DATA; in ossl_statem_server13_read_transition()
90 st->hand_state = TLS_ST_SR_CERT; in ossl_statem_server13_read_transition()
95 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
104 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
109 st->hand_state = TLS_ST_SR_CERT_VRFY; in ossl_statem_server13_read_transition()
117 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
132 st->hand_state = TLS_ST_SR_CERT; in ossl_statem_server13_read_transition()
137 st->hand_state = TLS_ST_SR_KEY_UPDATE; in ossl_statem_server13_read_transition()
[all …]
Dstatem_lib.c58 if (!SSL_IS_TLS13(s) || (s->statem.hand_state != TLS_ST_SW_SESSION_TICKET in ssl3_do_write()
59 && s->statem.hand_state != TLS_ST_CW_KEY_UPDATE in ssl3_do_write()
60 && s->statem.hand_state != TLS_ST_SW_KEY_UPDATE)) in ssl3_do_write()
234 if (s->statem.hand_state == TLS_ST_CR_CERT_VRFY in get_cert_verify_tbs_data()
235 || s->statem.hand_state == TLS_ST_SW_CERT_VRFY) in get_cert_verify_tbs_data()
245 if (s->statem.hand_state == TLS_ST_CR_CERT_VRFY in get_cert_verify_tbs_data()
246 || s->statem.hand_state == TLS_ST_SR_CERT_VRFY) { in get_cert_verify_tbs_data()
1190 if (s->statem.hand_state == TLS_ST_BEFORE in tls_get_message_header()
1216 if (s->statem.hand_state != TLS_ST_OK in tls_get_message_header()
Dstatem.h104 OSSL_HANDSHAKE_STATE hand_state; member
Dstatem_dtls.c514 || s->statem.hand_state != DTLS_ST_SW_HELLO_VERIFY_REQUEST) { in dtls1_retrieve_buffered_fragment()
887 || s->statem.hand_state != DTLS_ST_SW_HELLO_VERIFY_REQUEST) { in dtls_get_reassembled_message()
906 && 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