Lines Matching refs:mt
97 static int ossl_statem_client13_read_transition(SSL_CONNECTION *s, int mt) in ossl_statem_client13_read_transition() argument
116 if (mt == SSL3_MT_SERVER_HELLO) { in ossl_statem_client13_read_transition()
123 if (mt == SSL3_MT_ENCRYPTED_EXTENSIONS) { in ossl_statem_client13_read_transition()
131 if (mt == SSL3_MT_FINISHED) { in ossl_statem_client13_read_transition()
136 if (mt == SSL3_MT_CERTIFICATE_REQUEST) { in ossl_statem_client13_read_transition()
140 if (mt == SSL3_MT_CERTIFICATE) { in ossl_statem_client13_read_transition()
145 if (mt == SSL3_MT_COMPRESSED_CERTIFICATE in ossl_statem_client13_read_transition()
155 if (mt == SSL3_MT_CERTIFICATE) { in ossl_statem_client13_read_transition()
160 if (mt == SSL3_MT_COMPRESSED_CERTIFICATE in ossl_statem_client13_read_transition()
170 if (mt == SSL3_MT_CERTIFICATE_VERIFY) { in ossl_statem_client13_read_transition()
177 if (mt == SSL3_MT_FINISHED) { in ossl_statem_client13_read_transition()
184 if (mt == SSL3_MT_NEWSESSION_TICKET) { in ossl_statem_client13_read_transition()
188 if (mt == SSL3_MT_KEY_UPDATE && !SSL_IS_QUIC_HANDSHAKE(s)) { in ossl_statem_client13_read_transition()
192 if (mt == SSL3_MT_CERTIFICATE_REQUEST) { in ossl_statem_client13_read_transition()
230 int ossl_statem_client_read_transition(SSL_CONNECTION *s, int mt) in ossl_statem_client_read_transition() argument
240 if (!ossl_statem_client13_read_transition(s, mt)) in ossl_statem_client_read_transition()
250 if (mt == SSL3_MT_SERVER_HELLO) { in ossl_statem_client_read_transition()
256 if (mt == DTLS1_MT_HELLO_VERIFY_REQUEST) { in ossl_statem_client_read_transition()
269 if (mt == SSL3_MT_SERVER_HELLO) { in ossl_statem_client_read_transition()
278 if (mt == SSL3_MT_NEWSESSION_TICKET) { in ossl_statem_client_read_transition()
282 } else if (mt == SSL3_MT_CHANGE_CIPHER_SPEC) { in ossl_statem_client_read_transition()
288 && mt == DTLS1_MT_HELLO_VERIFY_REQUEST) { in ossl_statem_client_read_transition()
294 && mt == SSL3_MT_CHANGE_CIPHER_SPEC) { in ossl_statem_client_read_transition()
306 if (mt == SSL3_MT_CERTIFICATE) { in ossl_statem_client_read_transition()
315 && mt == SSL3_MT_SERVER_KEY_EXCHANGE)) { in ossl_statem_client_read_transition()
316 if (mt == SSL3_MT_SERVER_KEY_EXCHANGE) { in ossl_statem_client_read_transition()
320 } else if (mt == SSL3_MT_CERTIFICATE_REQUEST in ossl_statem_client_read_transition()
324 } else if (mt == SSL3_MT_SERVER_DONE) { in ossl_statem_client_read_transition()
338 if (s->ext.status_expected && mt == SSL3_MT_CERTIFICATE_STATUS) { in ossl_statem_client_read_transition()
348 && mt == SSL3_MT_SERVER_KEY_EXCHANGE)) { in ossl_statem_client_read_transition()
349 if (mt == SSL3_MT_SERVER_KEY_EXCHANGE) { in ossl_statem_client_read_transition()
358 if (mt == SSL3_MT_CERTIFICATE_REQUEST) { in ossl_statem_client_read_transition()
368 if (mt == SSL3_MT_SERVER_DONE) { in ossl_statem_client_read_transition()
376 if (mt == SSL3_MT_NEWSESSION_TICKET) { in ossl_statem_client_read_transition()
380 } else if (mt == SSL3_MT_CHANGE_CIPHER_SPEC) { in ossl_statem_client_read_transition()
387 if (mt == SSL3_MT_CHANGE_CIPHER_SPEC) { in ossl_statem_client_read_transition()
394 if (mt == SSL3_MT_FINISHED) { in ossl_statem_client_read_transition()
401 if (mt == SSL3_MT_HELLO_REQUEST) { in ossl_statem_client_read_transition()
410 if (SSL_CONNECTION_IS_DTLS(s) && mt == SSL3_MT_CHANGE_CIPHER_SPEC) { in ossl_statem_client_read_transition()
938 confunc_f *confunc, int *mt) in ossl_statem_client_construct_message() argument
953 *mt = SSL3_MT_CHANGE_CIPHER_SPEC; in ossl_statem_client_construct_message()
958 *mt = SSL3_MT_CLIENT_HELLO; in ossl_statem_client_construct_message()
963 *mt = SSL3_MT_END_OF_EARLY_DATA; in ossl_statem_client_construct_message()
968 *mt = SSL3_MT_DUMMY; in ossl_statem_client_construct_message()
973 *mt = SSL3_MT_CERTIFICATE; in ossl_statem_client_construct_message()
979 *mt = SSL3_MT_COMPRESSED_CERTIFICATE; in ossl_statem_client_construct_message()
985 *mt = SSL3_MT_CLIENT_KEY_EXCHANGE; in ossl_statem_client_construct_message()
990 *mt = SSL3_MT_CERTIFICATE_VERIFY; in ossl_statem_client_construct_message()
996 *mt = SSL3_MT_NEXT_PROTO; in ossl_statem_client_construct_message()
1001 *mt = SSL3_MT_FINISHED; in ossl_statem_client_construct_message()
1006 *mt = SSL3_MT_KEY_UPDATE; in ossl_statem_client_construct_message()