Lines Matching refs:statem

80     return sc->statem.hand_state;  in SSL_get_state()
90 return sc->statem.in_init; in SSL_in_init()
100 return !(sc->statem.in_init) && (sc->statem.hand_state == TLS_ST_OK); in SSL_is_init_finished()
117 return (sc->statem.hand_state == TLS_ST_BEFORE) in SSL_in_before()
118 && (sc->statem.state == MSG_FLOW_UNINITED); in SSL_in_before()
123 return s != NULL ? s->statem.hand_state : TLS_ST_BEFORE; in ossl_statem_get_state()
131 s->statem.state = MSG_FLOW_UNINITED; in ossl_statem_clear()
132 s->statem.hand_state = TLS_ST_BEFORE; in ossl_statem_clear()
134 s->statem.no_cert_verify = 0; in ossl_statem_clear()
143 s->statem.request_state = TLS_ST_SW_HELLO_REQ; in ossl_statem_set_renegotiate()
149 if (s->statem.in_init && s->statem.state == MSG_FLOW_ERROR) in ossl_statem_send_fatal()
152 s->statem.state = MSG_FLOW_ERROR; in ossl_statem_send_fatal()
182 if (!ossl_assert((s)->statem.in_init \
183 && (s)->statem.state == MSG_FLOW_ERROR)) \
196 if (s->statem.state == MSG_FLOW_ERROR) in ossl_statem_in_error()
204 s->statem.in_init = init; in ossl_statem_set_in_init()
211 return s->statem.in_handshake; in ossl_statem_get_in_handshake()
217 s->statem.in_handshake++; in ossl_statem_set_in_handshake()
219 s->statem.in_handshake--; in ossl_statem_set_in_handshake()
229 || s->statem.hand_state != TLS_ST_EARLY_DATA in ossl_statem_skip_early_data()
247 if (s->statem.hand_state == TLS_ST_PENDING_EARLY_DATA_END in ossl_statem_check_finish_init()
248 || s->statem.hand_state == TLS_ST_EARLY_DATA) { in ossl_statem_check_finish_init()
259 if ((sending && (s->statem.hand_state == TLS_ST_PENDING_EARLY_DATA_END in ossl_statem_check_finish_init()
260 || s->statem.hand_state == TLS_ST_EARLY_DATA) in ossl_statem_check_finish_init()
262 || (!sending && s->statem.hand_state == TLS_ST_EARLY_DATA)) { in ossl_statem_check_finish_init()
273 && s->statem.hand_state == TLS_ST_EARLY_DATA) in ossl_statem_check_finish_init()
280 s->statem.state = MSG_FLOW_UNINITED; in ossl_statem_set_hello_verify_done()
289 s->statem.hand_state = TLS_ST_SR_CLNT_HELLO; in ossl_statem_set_hello_verify_done()
358 OSSL_STATEM *st = &s->statem; in state_machine()
539 OSSL_STATEM *st = &s->statem; in init_read_state_machine()
587 OSSL_STATEM *st = &s->statem; in read_state_machine()
750 OSSL_STATEM *st = &s->statem; in statem_do_write()
768 OSSL_STATEM *st = &s->statem; in init_write_state_machine()
806 OSSL_STATEM *st = &s->statem; in write_state_machine()
984 OSSL_STATEM *st = &s->statem; in ossl_statem_app_data_allowed()
1019 && s->statem.hand_state != TLS_ST_SW_FINISHED; in ossl_statem_export_allowed()