Lines Matching refs:SSL
65 static int state_machine(SSL *s, int server);
66 static void init_read_state_machine(SSL *s);
67 static SUB_STATE_RETURN read_state_machine(SSL *s);
68 static void init_write_state_machine(SSL *s);
69 static SUB_STATE_RETURN write_state_machine(SSL *s);
71 OSSL_HANDSHAKE_STATE SSL_get_state(const SSL *ssl) in SSL_get_state()
76 int SSL_in_init(const SSL *s) in SSL_in_init()
81 int SSL_is_init_finished(const SSL *s) in SSL_is_init_finished()
86 int SSL_in_before(const SSL *s) in SSL_in_before()
102 void ossl_statem_clear(SSL *s) in ossl_statem_clear()
113 void ossl_statem_set_renegotiate(SSL *s) in ossl_statem_set_renegotiate()
119 void ossl_statem_send_fatal(SSL *s, int al) in ossl_statem_send_fatal()
137 void ossl_statem_fatal(SSL *s, int al, int reason, const char *fmt, ...) in ossl_statem_fatal()
167 int ossl_statem_in_error(const SSL *s) in ossl_statem_in_error()
175 void ossl_statem_set_in_init(SSL *s, int init) in ossl_statem_set_in_init()
180 int ossl_statem_get_in_handshake(SSL *s) in ossl_statem_get_in_handshake()
185 void ossl_statem_set_in_handshake(SSL *s, int inhand) in ossl_statem_set_in_handshake()
194 int ossl_statem_skip_early_data(SSL *s) in ossl_statem_skip_early_data()
215 void ossl_statem_check_finish_init(SSL *s, int sending) in ossl_statem_check_finish_init()
249 void ossl_statem_set_hello_verify_done(SSL *s) in ossl_statem_set_hello_verify_done()
263 int ossl_statem_connect(SSL *s) in ossl_statem_connect()
268 int ossl_statem_accept(SSL *s) in ossl_statem_accept()
273 typedef void (*info_cb) (const SSL *, int, int);
275 static info_cb get_callback(SSL *s) in get_callback()
313 static int state_machine(SSL *s, int server) in state_machine()
316 void (*cb) (const SSL *ssl, int type, int val) = NULL; in state_machine()
498 static void init_read_state_machine(SSL *s) in init_read_state_machine()
505 static int grow_init_buf(SSL *s, size_t size) { in grow_init_buf()
546 static SUB_STATE_RETURN read_state_machine(SSL *s) in read_state_machine()
551 int (*transition) (SSL *s, int mt); in read_state_machine()
553 MSG_PROCESS_RETURN(*process_message) (SSL *s, PACKET *pkt); in read_state_machine()
554 WORK_STATE(*post_process_message) (SSL *s, WORK_STATE wst); in read_state_machine()
555 size_t (*max_message_size) (SSL *s); in read_state_machine()
556 void (*cb) (const SSL *ssl, int type, int val) = NULL; in read_state_machine()
708 static int statem_do_write(SSL *s) in statem_do_write()
726 static void init_write_state_machine(SSL *s) in init_write_state_machine()
764 static SUB_STATE_RETURN write_state_machine(SSL *s) in write_state_machine()
768 WRITE_TRAN(*transition) (SSL *s); in write_state_machine()
769 WORK_STATE(*pre_work) (SSL *s, WORK_STATE wst); in write_state_machine()
770 WORK_STATE(*post_work) (SSL *s, WORK_STATE wst); in write_state_machine()
771 int (*get_construct_message_f) (SSL *s, WPACKET *pkt, in write_state_machine()
772 int (**confunc) (SSL *s, WPACKET *pkt), in write_state_machine()
774 void (*cb) (const SSL *ssl, int type, int val) = NULL; in write_state_machine()
775 int (*confunc) (SSL *s, WPACKET *pkt); in write_state_machine()
907 int statem_flush(SSL *s) in statem_flush()
926 int ossl_statem_app_data_allowed(SSL *s) in ossl_statem_app_data_allowed()
960 int ossl_statem_export_allowed(SSL *s) in ossl_statem_export_allowed()
970 int ossl_statem_export_early_allowed(SSL *s) in ossl_statem_export_early_allowed()