Lines Matching refs:tls_session
59 t = SSLv2(sh, tls_session=t.tls_session.mirror())
82 assert(t_enc.tls_session.pwcs.tls_version == 0x0002)
83 assert(t_enc.tls_session.prcs.tls_version == 0x0002)
90 t.tls_session.server_rsa_key = rsa_key
93 t = SSLv2(mk, tls_session=t.tls_session.mirror())
107 s = t.tls_session
117 t = SSLv2(sv, tls_session=t.tls_session.mirror())
130 t = SSLv2(cf, tls_session=t.tls_session.mirror())
137 t = SSLv2(rc, tls_session=t.tls_session.mirror())
145 t = SSLv2(cc, tls_session=t.tls_session.mirror())
159 t = SSLv2(sf, tls_session=t.tls_session.mirror())
166 t1 = SSLv2(d1, tls_session=t.tls_session.mirror())
170 t2 = SSLv2(d2, tls_session=t1.tls_session)
176 t2.tls_session.rcs.seq_num == 6 and t2.tls_session.wcs.seq_num == 4
188 assert(t1.tls_session.rcs.seq_num == 6 and t1.tls_session.wcs.seq_num == 4)
194 assert(t2.tls_session.rcs.seq_num == 6 and t2.tls_session.wcs.seq_num == 4)
206 t = SSLv2(sh, tls_session=t.tls_session.mirror())
208 t.tls_session.server_rsa_key = rsa_key
209 t = SSLv2(mk, tls_session=t.tls_session.mirror())
212 t = SSLv2(sv, tls_session=t.tls_session.mirror())
217 assert(t.tls_session.rcs.seq_num == 2)
218 assert(t.tls_session.wcs.seq_num == 2)
221 = Check TLS-related scapy internals - Checking tls_session freeze during show2()
222 l = len(t.tls_session.handshake_messages)
224 l == len(t.tls_session.handshake_messages)
266 t.tls_session.sslv2_connection_id = b'\xba'*16
267 t.tls_session.sslv2_challenge = b'\x42'*16
269 s = t.tls_session