Home
last modified time | relevance | path

Searched refs:mt (Results 1 – 25 of 32) sorted by relevance

12

/openssl/util/perl/
H A Dcheckhandshake.pm120 next if ($message->mt() != TLSProxy::Message::MT_CLIENT_HELLO
122 && $message->mt() !=
127 next if $message->mt() == TLSProxy::Message::MT_CERTIFICATE
143 next if ($message->mt() != $extensions[$extloop][0]);
179 ok($message->mt == $handmessages[$loop][0],
180 "Message type check. Got ".$message->mt
190 && $message->mt() !=
195 next if $message->mt() == TLSProxy::Message::MT_CERTIFICATE
198 if ($message->mt() == TLSProxy::Message::MT_CLIENT_HELLO) {
221 next if ($message->mt() != $extensions[$extloop][0]);
[all …]
/openssl/util/perl/TLSProxy/
H A DMessage.pm151 my $mt;
275 print " Message type: $message_type{$mt}($mt)\n";
343 if ($mt == MT_CLIENT_HELLO) {
395 } elsif ($mt == MT_CERTIFICATE) {
469 } elsif ($mt == MT_NEXT_PROTO) {
487 $mt,
527 $mt,
541 mt => $mt,
689 sub mt subroutine
693 $self->{mt} = shift;
[all …]
/openssl/test/recipes/
H A D70-test_sslsessiontick.t159 if ($message->mt == TLSProxy::Message::MT_NEW_SESSION_TICKET) {
170 if ($message->mt == TLSProxy::Message::MT_NEW_SESSION_TICKET) {
179 if ($message->mt == TLSProxy::Message::MT_SERVER_HELLO) {
206 if ($message->mt == TLSProxy::Message::MT_SERVER_HELLO) {
223 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO
224 || $message->mt == TLSProxy::Message::MT_SERVER_HELLO) {
229 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
235 } elsif ($message->mt == TLSProxy::Message::MT_CERTIFICATE) {
238 } elsif ($message->mt == TLSProxy::Message::MT_NEW_SESSION_TICKET) {
H A D70-test_renegotiation.t86 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
139 … my $clientHello = first { $_->mt == TLSProxy::Message::MT_CLIENT_HELLO } @{$proxy->message_list};
157 … my $clientHello = first { $_->mt == TLSProxy::Message::MT_CLIENT_HELLO } @{$proxy->message_list};
175 … my $clientHello = first { $_->mt == TLSProxy::Message::MT_CLIENT_HELLO } @{$proxy->message_list};
192 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
212 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
226 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
H A D70-test_tlsextms.t194 if ($crmextms && $message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
198 if ($srmextms && $message->mt == TLSProxy::Message::MT_SERVER_HELLO) {
212 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO
213 || $message->mt == TLSProxy::Message::MT_SERVER_HELLO) {
218 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
224 } elsif ($message->mt == TLSProxy::Message::MT_CLIENT_KEY_EXCHANGE) {
H A D70-test_sslextension.t71 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
88 if ($message->mt == $message_type) {
152 die "Expecting EE message ".($message->mt).","
153 .${$proxy->message_list}[1]->mt.", "
154 .${$proxy->message_list}[3]->mt
155 if $message->mt != TLSProxy::Message::MT_ENCRYPTED_EXTENSIONS;
H A D70-test_sslsignature.t116 my $mt = TLSProxy::Message::MT_CERTIFICATE_VERIFY;
129 $mt = TLSProxy::Message::MT_SERVER_KEY_EXCHANGE
133 if ($message->mt == $mt) {
H A D70-test_tls13psk.t75 my $ch2seen = defined $ch2 && $ch2->mt() == TLSProxy::Message::MT_CLIENT_HELLO;
98 $ch2seen = defined $ch2 && $ch2->mt() == TLSProxy::Message::MT_CLIENT_HELLO;
135 || $message->mt != TLSProxy::Message::MT_CLIENT_HELLO);
H A D70-test_tls13cookie.t85 if ($message->mt == TLSProxy::Message::MT_SERVER_HELLO
91 } elsif ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
H A D70-test_sslcbcpadding.t72 if ($message->mt != TLSProxy::Message::MT_CLIENT_HELLO) {
87 && $last_message->mt == TLSProxy::Message::MT_FINISHED
H A D70-test_key_share.t306 &&(${$proxy->message_list}[0]->mt == TLSProxy::Message::MT_CLIENT_HELLO)
307 && (${$proxy->message_list}[2]->mt == TLSProxy::Message::MT_CLIENT_HELLO);
324 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO
454 } elsif ($message->mt == TLSProxy::Message::MT_SERVER_HELLO
H A D70-test_sslsigalgs.t336 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
371 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
427 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
463 if ($message->mt == TLSProxy::Message::MT_CERTIFICATE_VERIFY) {
H A D70-test_sslcertstatus.t57 if ($message->mt == TLSProxy::Message::MT_SERVER_HELLO) {
H A D70-test_sslskewith0p.t58 if ($message->mt == TLSProxy::Message::MT_SERVER_KEY_EXCHANGE) {
H A D70-test_npn.t65 if ($message->mt == TLSProxy::Message::MT_NEXT_PROTO) {
H A D70-test_sslvertol.t116 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
H A D70-test_sslrecords.t739 return if @{$proxy->{message_list}}[-1]->{mt}
760 return if @{$proxy->{message_list}}[-1]->{mt}
792 return if @{$proxy->{message_list}}[-1]->{mt}
H A D70-test_comp.t194 || $message->mt != TLSProxy::Message::MT_CLIENT_HELLO);
H A D70-test_sslversions.t145 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO) {
/openssl/ssl/statem/
H A Dstatem_clnt.c116 if (mt == SSL3_MT_SERVER_HELLO) { in ossl_statem_client13_read_transition()
131 if (mt == SSL3_MT_FINISHED) { in ossl_statem_client13_read_transition()
155 if (mt == SSL3_MT_CERTIFICATE) { in ossl_statem_client13_read_transition()
177 if (mt == SSL3_MT_FINISHED) { in ossl_statem_client13_read_transition()
394 if (mt == SSL3_MT_FINISHED) { in ossl_statem_client_read_transition()
958 *mt = SSL3_MT_CLIENT_HELLO; 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()
996 *mt = SSL3_MT_NEXT_PROTO; in ossl_statem_client_construct_message()
1001 *mt = SSL3_MT_FINISHED; in ossl_statem_client_construct_message()
[all …]
H A Dstatem.c588 int ret, mt; in read_state_machine() local
590 int (*transition) (SSL_CONNECTION *s, int mt); in read_state_machine()
625 ret = dtls_get_message(s, &mt); in read_state_machine()
627 ret = tls_get_message_header(s, &mt); in read_state_machine()
646 if (!transition(s, mt)) in read_state_machine()
814 int *mt); in write_state_machine()
817 int mt; in write_state_machine() local
878 if (!get_construct_message_f(s, &confunc, &mt)) { in write_state_machine()
882 if (mt == SSL3_MT_DUMMY) { in write_state_machine()
889 || !ssl_set_handshake_header(s, &pkt, mt)) { in write_state_machine()
[all …]
H A Dstatem_srvr.c134 if (mt == SSL3_MT_FINISHED) { in ossl_statem_server13_read_transition()
307 if (mt == SSL3_MT_FINISHED) { in ossl_statem_server_read_transition()
1120 *mt = SSL3_MT_HELLO_REQUEST; in ossl_statem_server_construct_message()
1125 *mt = SSL3_MT_SERVER_HELLO; in ossl_statem_server_construct_message()
1130 *mt = SSL3_MT_CERTIFICATE; in ossl_statem_server_construct_message()
1158 *mt = SSL3_MT_SERVER_DONE; in ossl_statem_server_construct_message()
1173 *mt = SSL3_MT_FINISHED; in ossl_statem_server_construct_message()
1178 *mt = SSL3_MT_DUMMY; in ossl_statem_server_construct_message()
1188 *mt = SSL3_MT_KEY_UPDATE; in ossl_statem_server_construct_message()
1508 unsigned int mt; in tls_process_client_hello() local
[all …]
H A Dstatem_dtls.c53 static void dtls1_set_message_header_int(SSL_CONNECTION *s, unsigned char mt,
324 int dtls_get_message(SSL_CONNECTION *s, int *mt) in dtls_get_message() argument
345 *mt = s->s3.tmp.message_type; in dtls_get_message()
349 if (*mt == SSL3_MT_CHANGE_CIPHER_SPEC) { in dtls_get_message()
1250 unsigned char mt, size_t len, in dtls1_set_message_header() argument
1258 dtls1_set_message_header_int(s, mt, len, s->d1->handshake_write_seq, in dtls1_set_message_header()
1264 dtls1_set_message_header_int(SSL_CONNECTION *s, unsigned char mt, in dtls1_set_message_header_int() argument
1270 msg_hdr->type = mt; in dtls1_set_message_header_int()
H A Dstatem_local.h84 int ossl_statem_client_read_transition(SSL_CONNECTION *s, int mt);
89 confunc_f *confunc, int *mt);
99 int ossl_statem_server_read_transition(SSL_CONNECTION *s, int mt);
104 confunc_f *confunc,int *mt);
112 __owur int tls_get_message_header(SSL_CONNECTION *s, int *mt);
114 __owur int dtls_get_message(SSL_CONNECTION *s, int *mt);
/openssl/crypto/bio/
H A Dbio_lib.c814 int mt, mask; in BIO_find_type() local
823 mt = bio->method->type; in BIO_find_type()
826 if (mt & type) in BIO_find_type()
828 } else if (mt == type) { in BIO_find_type()

Completed in 56 milliseconds

12