Home
last modified time | relevance | path

Searched refs:statem (Results 1 – 18 of 18) sorted by relevance

/third_party/openssl/ssl/statem/
Dstatem.c68 return ssl->statem.hand_state; in SSL_get_state()
73 return s->statem.in_init; in SSL_in_init()
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()
91 && (s->statem.state == MSG_FLOW_UNINITED); in SSL_in_before()
99 s->statem.state = MSG_FLOW_UNINITED; in ossl_statem_clear()
100 s->statem.hand_state = TLS_ST_BEFORE; in ossl_statem_clear()
101 s->statem.in_init = 1; in ossl_statem_clear()
102 s->statem.no_cert_verify = 0; in ossl_statem_clear()
110 s->statem.in_init = 1; in ossl_statem_set_renegotiate()
[all …]
DREADME28 writing sub-state machine. See the source comments in statem.c for a more
35 ---------------------------|-----statem.h--------------------------------------
39 | statem.c |
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()
155 s->statem.use_timer = 1; in tls_setup_handshake()
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()
540 s->statem.cleanuphand = 1; in tls_construct_finished()
774 s->statem.enc_read_state = ENC_READ_STATE_VALID; in tls_process_finished()
[all …]
Dstatem_srvr.c57 OSSL_STATEM *st = &s->statem; in ossl_statem_server13_read_transition()
156 OSSL_STATEM *st = &s->statem; in ossl_statem_server_read_transition()
415 OSSL_STATEM *st = &s->statem; in ossl_statem_server13_write_transition()
543 OSSL_STATEM *st = &s->statem; in ossl_statem_server_write_transition()
683 OSSL_STATEM *st = &s->statem; in ossl_statem_server_pre_work()
810 OSSL_STATEM *st = &s->statem; in ossl_statem_server_post_work()
914 s->statem.enc_read_state = ENC_READ_STATE_ALLOW_PLAIN_ALERTS; in ossl_statem_server_post_work()
1021 OSSL_STATEM *st = &s->statem; in ossl_statem_server_construct_message()
1141 OSSL_STATEM *st = &s->statem; in ossl_statem_server_max_message_size()
1184 OSSL_STATEM *st = &s->statem; in ossl_statem_server_process_message()
[all …]
Dstatem_clnt.c87 OSSL_STATEM *st = &s->statem; in ossl_statem_client13_read_transition()
203 OSSL_STATEM *st = &s->statem; in ossl_statem_client_read_transition()
406 OSSL_STATEM *st = &s->statem; in ossl_statem_client13_write_transition()
499 OSSL_STATEM *st = &s->statem; in ossl_statem_client_write_transition()
669 OSSL_STATEM *st = &s->statem; in ossl_statem_client_pre_work()
733 OSSL_STATEM *st = &s->statem; in ossl_statem_client_post_work()
888 OSSL_STATEM *st = &s->statem; in ossl_statem_client_construct_message()
962 OSSL_STATEM *st = &s->statem; in ossl_statem_client_max_message_size()
1023 OSSL_STATEM *st = &s->statem; in ossl_statem_client_process_message()
1083 OSSL_STATEM *st = &s->statem; in ossl_statem_client_post_process_message()
Dstatem_dtls.c827 && s->statem.hand_state != TLS_ST_OK in dtls_get_reassembled_message()
/third_party/openssl/ssl/
Dbuild.info4 statem/statem_srvr.c statem/statem_clnt.c s3_lib.c s3_enc.c record/rec_layer_s3.c \
5 statem/statem_lib.c statem/extensions.c statem/extensions_srvr.c \
6 statem/extensions_clnt.c statem/extensions_cust.c s3_cbc.c s3_msg.c \
9 statem/statem_dtls.c d1_srtp.c \
15 statem/statem.c record/ssl3_record_tls13.c
Dtls13_enc.c489 s->statem.enc_write_state = ENC_WRITE_STATE_INVALID; in tls13_change_cipher_state()
714 s->statem.enc_write_state = ENC_WRITE_STATE_WRITE_PLAIN_ALERTS; in tls13_change_cipher_state()
716 s->statem.enc_write_state = ENC_WRITE_STATE_VALID; in tls13_change_cipher_state()
743 s->statem.enc_write_state = ENC_WRITE_STATE_INVALID; in tls13_update_key()
764 s->statem.enc_write_state = ENC_WRITE_STATE_VALID; in tls13_update_key()
Ds3_enc.c156 s->statem.enc_write_state = ENC_WRITE_STATE_INVALID; in ssl3_change_cipher_state()
239 s->statem.enc_write_state = ENC_WRITE_STATE_VALID; in ssl3_change_cipher_state()
Dt1_enc.c153 s->statem.enc_write_state = ENC_WRITE_STATE_INVALID; in tls1_change_cipher_state()
315 s->statem.enc_write_state = ENC_WRITE_STATE_VALID; in tls1_change_cipher_state()
Dssl_local.h1114 OSSL_STATEM statem; member
/third_party/openssl/
DBUILD.gn1065 "ssl/statem/extensions.c",
1066 "ssl/statem/extensions_clnt.c",
1067 "ssl/statem/extensions_cust.c",
1068 "ssl/statem/extensions_srvr.c",
1069 "ssl/statem/statem.c",
1070 "ssl/statem/statem_clnt.c",
1071 "ssl/statem/statem_dtls.c",
1072 "ssl/statem/statem_lib.c",
1073 "ssl/statem/statem_srvr.c",
DCHANGES2190 with the old code (see ssl/statem/README for further details). This change
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_types.h226 OSSL_STATEM statem; member
/third_party/openssl/ssl/record/
Drec_layer_s3.c842 && (s->statem.enc_write_state != ENC_WRITE_STATE_WRITE_PLAIN_ALERTS in do_ssl3_write()
908 && (s->statem.enc_write_state != ENC_WRITE_STATE_WRITE_PLAIN_ALERTS in do_ssl3_write()
998 if (s->statem.enc_write_state == ENC_WRITE_STATE_WRITE_PLAIN_ALERTS) { in do_ssl3_write()
Dssl3_record.c347 || s->statem.enc_read_state in ssl3_get_record()
/third_party/openssl/Configurations/
Ddescrip.mms.tmpl71 my $sd2 = sourcedir("ssl","statem");
72 my @ssl_locl_users = grep(/^\[\.(?:ssl\.(?:record|statem)|test)\].*\.o$/,
80 define statem 'statem_include');
82 = qq(deassign statem
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/
Dssl_lib.c73 if (ssl->statem.state == MSG_FLOW_ERROR) in ossl_statem_in_error()