• Home
  • Raw
  • Download

Lines Matching refs:Message

80 ok(TLSProxy::Message->success(), "Success after HRR");
86 ok(TLSProxy::Message->fail(), "Server asks for group already provided");
92 ok(TLSProxy::Message->fail(), "Missing key_shares extension");
100 ok(TLSProxy::Message->success(), "No initial acceptable key_shares");
108 ok(TLSProxy::Message->fail(), "No acceptable key_shares");
114 ok(TLSProxy::Message->success(), "Non preferred key_share");
122 ok(TLSProxy::Message->success(), "Acceptable key_share at end of list");
129 ok(TLSProxy::Message->fail(), "Acceptable key_share not in supported_groups");
135 ok(TLSProxy::Message->fail(), "Group id too short");
141 ok(TLSProxy::Message->fail(), "key_exchange length mismatch");
147 ok(TLSProxy::Message->fail(), "zero length key_exchange data");
153 ok(TLSProxy::Message->fail(), "key_share list trailing data");
161 ok(TLSProxy::Message->success() && ($selectedgroupid == P_256),
168 ok(TLSProxy::Message->success() && ($selectedgroupid == X25519),
176 ok(TLSProxy::Message->fail(), "Non offered key_share");
182 ok(TLSProxy::Message->fail(), "Group id too short in ServerHello");
188 ok(TLSProxy::Message->fail(), "key_exchange length mismatch in ServerHello");
194 ok(TLSProxy::Message->fail(), "zero length key_exchange data in ServerHello");
200 ok(TLSProxy::Message->fail(), "key_share trailing data in ServerHello");
212 ok(TLSProxy::Message->success()
213 && !defined $clienthello->extension_data->{TLSProxy::Message::EXT_KEY_SHARE},
224 ok(TLSProxy::Message->success(), "Ignore key_share for TLS<=1.2 server");
234 ok(TLSProxy::Message->fail(), "Server sends HRR with no key_shares");
248 if ($message->mt == TLSProxy::Message::MT_CLIENT_HELLO
327 TLSProxy::Message::EXT_SUPPORTED_GROUPS, $suppgroups);
332 TLSProxy::Message::EXT_KEY_SHARE);
335 TLSProxy::Message::EXT_KEY_SHARE, $ext);
339 } elsif ($message->mt == TLSProxy::Message::MT_SERVER_HELLO
343 $message->extension_data->{TLSProxy::Message::EXT_KEY_SHARE};
350 $message->delete_extension(TLSProxy::Message::EXT_KEY_SHARE);
351 $message->set_extension(TLSProxy::Message::EXT_UNKNOWN, "");
381 $message->set_extension(TLSProxy::Message::EXT_KEY_SHARE, $ext);