Lines Matching refs:st
69 OSSL_STATEM *st = &s->statem; in ossl_statem_server13_read_transition() local
76 switch (st->hand_state) { in ossl_statem_server13_read_transition()
83 st->hand_state = TLS_ST_SR_CLNT_HELLO; in ossl_statem_server13_read_transition()
89 st->hand_state = TLS_ST_SR_END_OF_EARLY_DATA; in ossl_statem_server13_read_transition()
100 st->hand_state = TLS_ST_SR_CERT; in ossl_statem_server13_read_transition()
106 st->hand_state = TLS_ST_SR_COMP_CERT; in ossl_statem_server13_read_transition()
112 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
122 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
127 st->hand_state = TLS_ST_SR_CERT_VRFY; in ossl_statem_server13_read_transition()
135 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server13_read_transition()
150 st->hand_state = TLS_ST_SR_CERT; in ossl_statem_server13_read_transition()
156 st->hand_state = TLS_ST_SR_COMP_CERT; in ossl_statem_server13_read_transition()
163 st->hand_state = TLS_ST_SR_KEY_UPDATE; in ossl_statem_server13_read_transition()
184 OSSL_STATEM *st = &s->statem; in ossl_statem_server_read_transition() local
192 switch (st->hand_state) { in ossl_statem_server_read_transition()
200 st->hand_state = TLS_ST_SR_CLNT_HELLO; in ossl_statem_server_read_transition()
230 st->hand_state = TLS_ST_SR_KEY_EXCH; in ossl_statem_server_read_transition()
234 st->hand_state = TLS_ST_SR_KEY_EXCH; in ossl_statem_server_read_transition()
239 st->hand_state = TLS_ST_SR_CERT; in ossl_statem_server_read_transition()
247 st->hand_state = TLS_ST_SR_KEY_EXCH; in ossl_statem_server_read_transition()
261 if (!received_client_cert(s) || st->no_cert_verify) { in ossl_statem_server_read_transition()
269 st->hand_state = TLS_ST_SR_CHANGE; in ossl_statem_server_read_transition()
274 st->hand_state = TLS_ST_SR_CERT_VRFY; in ossl_statem_server_read_transition()
282 st->hand_state = TLS_ST_SR_CHANGE; in ossl_statem_server_read_transition()
291 st->hand_state = TLS_ST_SR_NEXT_PROTO; in ossl_statem_server_read_transition()
297 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server_read_transition()
308 st->hand_state = TLS_ST_SR_FINISHED; in ossl_statem_server_read_transition()
316 st->hand_state = TLS_ST_SR_CHANGE; in ossl_statem_server_read_transition()
469 OSSL_STATEM *st = &s->statem; in ossl_statem_server13_write_transition() local
476 switch (st->hand_state) { in ossl_statem_server13_write_transition()
484 st->hand_state = TLS_ST_SW_KEY_UPDATE; in ossl_statem_server13_write_transition()
488 st->hand_state = TLS_ST_SW_CERT_REQ; in ossl_statem_server13_write_transition()
492 st->hand_state = TLS_ST_SW_SESSION_TICKET; in ossl_statem_server13_write_transition()
499 st->hand_state = TLS_ST_SW_SRVR_HELLO; in ossl_statem_server13_write_transition()
505 st->hand_state = TLS_ST_SW_CHANGE; in ossl_statem_server13_write_transition()
507 st->hand_state = TLS_ST_EARLY_DATA; in ossl_statem_server13_write_transition()
509 st->hand_state = TLS_ST_SW_ENCRYPTED_EXTENSIONS; in ossl_statem_server13_write_transition()
514 st->hand_state = TLS_ST_EARLY_DATA; in ossl_statem_server13_write_transition()
516 st->hand_state = TLS_ST_SW_ENCRYPTED_EXTENSIONS; in ossl_statem_server13_write_transition()
521 st->hand_state = TLS_ST_SW_FINISHED; in ossl_statem_server13_write_transition()
523 st->hand_state = TLS_ST_SW_CERT_REQ; in ossl_statem_server13_write_transition()
525 st->hand_state = TLS_ST_SW_COMP_CERT; in ossl_statem_server13_write_transition()
527 st->hand_state = TLS_ST_SW_CERT; in ossl_statem_server13_write_transition()
534 st->hand_state = TLS_ST_OK; in ossl_statem_server13_write_transition()
536 st->hand_state = TLS_ST_SW_COMP_CERT; in ossl_statem_server13_write_transition()
538 st->hand_state = TLS_ST_SW_CERT; in ossl_statem_server13_write_transition()
544 st->hand_state = TLS_ST_SW_CERT_VRFY; in ossl_statem_server13_write_transition()
548 st->hand_state = TLS_ST_SW_FINISHED; in ossl_statem_server13_write_transition()
552 st->hand_state = TLS_ST_EARLY_DATA; in ossl_statem_server13_write_transition()
573 st->hand_state = TLS_ST_OK; in ossl_statem_server13_write_transition()
577 st->hand_state = TLS_ST_SW_SESSION_TICKET; in ossl_statem_server13_write_transition()
579 st->hand_state = TLS_ST_OK; in ossl_statem_server13_write_transition()
584 st->hand_state = TLS_ST_OK; in ossl_statem_server13_write_transition()
596 st->hand_state = TLS_ST_OK; in ossl_statem_server13_write_transition()
608 OSSL_STATEM *st = &s->statem; in ossl_statem_server_write_transition() local
618 switch (st->hand_state) { in ossl_statem_server_write_transition()
625 if (st->request_state == TLS_ST_SW_HELLO_REQ) { in ossl_statem_server_write_transition()
627 st->hand_state = TLS_ST_SW_HELLO_REQ; in ossl_statem_server_write_transition()
628 st->request_state = TLS_ST_BEFORE; in ossl_statem_server_write_transition()
643 st->hand_state = TLS_ST_OK; in ossl_statem_server_write_transition()
649 st->hand_state = DTLS_ST_SW_HELLO_VERIFY_REQUEST; in ossl_statem_server_write_transition()
652 st->hand_state = TLS_ST_OK; in ossl_statem_server_write_transition()
655 st->hand_state = TLS_ST_SW_SRVR_HELLO; in ossl_statem_server_write_transition()
665 st->hand_state = TLS_ST_SW_SESSION_TICKET; in ossl_statem_server_write_transition()
667 st->hand_state = TLS_ST_SW_CHANGE; in ossl_statem_server_write_transition()
673 st->hand_state = TLS_ST_SW_CERT; in ossl_statem_server_write_transition()
675 st->hand_state = TLS_ST_SW_KEY_EXCH; in ossl_statem_server_write_transition()
677 st->hand_state = TLS_ST_SW_CERT_REQ; in ossl_statem_server_write_transition()
679 st->hand_state = TLS_ST_SW_SRVR_DONE; in ossl_statem_server_write_transition()
686 st->hand_state = TLS_ST_SW_CERT_STATUS; in ossl_statem_server_write_transition()
693 st->hand_state = TLS_ST_SW_KEY_EXCH; in ossl_statem_server_write_transition()
700 st->hand_state = TLS_ST_SW_CERT_REQ; in ossl_statem_server_write_transition()
706 st->hand_state = TLS_ST_SW_SRVR_DONE; in ossl_statem_server_write_transition()
716 st->hand_state = TLS_ST_OK; in ossl_statem_server_write_transition()
719 st->hand_state = TLS_ST_SW_SESSION_TICKET; in ossl_statem_server_write_transition()
721 st->hand_state = TLS_ST_SW_CHANGE; in ossl_statem_server_write_transition()
726 st->hand_state = TLS_ST_SW_CHANGE; in ossl_statem_server_write_transition()
730 st->hand_state = TLS_ST_SW_FINISHED; in ossl_statem_server_write_transition()
737 st->hand_state = TLS_ST_OK; in ossl_statem_server_write_transition()
748 OSSL_STATEM *st = &s->statem; in ossl_statem_server_pre_work() local
751 switch (st->hand_state) { in ossl_statem_server_pre_work()
767 st->use_timer = 0; in ossl_statem_server_pre_work()
777 st->use_timer = 1; in ossl_statem_server_pre_work()
807 st->use_timer = 0; in ossl_statem_server_pre_work()
832 st->use_timer = 0; in ossl_statem_server_pre_work()
876 OSSL_STATEM *st = &s->statem; in ossl_statem_server_post_work() local
881 switch (st->hand_state) { in ossl_statem_server_post_work()
1096 OSSL_STATEM *st = &s->statem; in ossl_statem_server_construct_message() local
1098 switch (st->hand_state) { in ossl_statem_server_construct_message()
1221 OSSL_STATEM *st = &s->statem; in ossl_statem_server_max_message_size() local
1223 switch (st->hand_state) { in ossl_statem_server_max_message_size()
1266 OSSL_STATEM *st = &s->statem; in ossl_statem_server_process_message() local
1268 switch (st->hand_state) { in ossl_statem_server_process_message()
1318 OSSL_STATEM *st = &s->statem; in ossl_statem_server_post_process_message() local
1320 switch (st->hand_state) { in ossl_statem_server_post_process_message()