Searched refs:derive_key_block (Results 1 – 3 of 3) sorted by relevance
/external/scapy/scapy/layers/tls/crypto/ |
D | prf.py | 213 def derive_key_block(self, master_secret, server_random, member in PRF
|
/external/scapy/scapy/layers/tls/ |
D | session.py | 132 key_block = self.prf.derive_key_block(master_secret, 557 km = self.pwcs.prf.derive_key_block(self.master_secret,
|
/external/scapy/test/ |
D | tls.uts | 349 = Crypto - derive_key_block() in SSL mode 350 t1 = f.derive_key_block(b"A"*48, b"B"*32, b"C"*32, 72) == b'\xe8\xb5O68e\x8c\x1e\xd0hD!\xc1Zk\x9e\x… 351 t2 = f.derive_key_block(b"A"*48, b"C"*32, b"B"*32, 72) == b'Ts/q\x83\x88\x10\x9c1Y\xff\xf3vo\xe3\x8… 352 t3 = f.derive_key_block(b"C"*48, b"A"*32, b"B"*32, 72) == b'Q\xde\x06L\xdb\xe9\x9dC\x19\x8a:m@\xce\… 353 t4 = f.derive_key_block(b"D"*48, b"B"*32, b"A"*32, 72) == b'\xbe\x9a\xc8)\xb5{.H1\x8382\xc2\xdff\xd… 367 = Crypto - derive_key_block() in TLS 1.0 mode 368 t1 = f.derive_key_block(b"A"*48, b"B"*32, b"C"*32, 72) == b'\x06\xccA\xd5\xf3\x9dT`ZC!/\xa0\xbe\x95… 369 t2 = f.derive_key_block(b"A"*48, b"C"*32, b"B"*32, 72) == b"\\@d\x1d9V\xae\xe2'\xf6Q\xc9\xd7\x8beu\… 370 t3 = f.derive_key_block(b"C"*48, b"A"*32, b"B"*32, 72) == b'\x9c\xaate\x07\x12K\xb2\xc3zT1\xf4\x1fN… 371 t4 = f.derive_key_block(b"D"*48, b"B"*32, b"A"*32, 72) == b't{P+k\xe1\xe5O\xbe]L?$\x8d7O.\xe6\xd6\x…
|