Searched refs:_tls_P_MD5 (Results 1 – 2 of 2) sorted by relevance
/external/scapy/scapy/layers/tls/crypto/ |
D | prf.py | 53 def _tls_P_MD5(secret, seed, req_len): function 138 a1 = _tls_P_MD5(S1, label+seed, req_len)
|
/external/scapy/test/ |
D | tls.uts | 254 = Crypto - _tls_P_MD5 behavior on test vectors borrowed from RFC 2202 (+ errata) 255 from scapy.layers.tls.crypto.prf import _tls_P_MD5 256 t1 = _tls_P_MD5(b'\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b', "Hi There", 64… 257 t2 = _tls_P_MD5(b"Jefe", b"what do ya want for nothing?", 64) == b"\xec\x99'|,\xd5gj\x82\xb9\xa0\x1… 258 t3 = _tls_P_MD5(b'\xaa'*16,b'\xdd'*50, 64) == b'\xe5_\xe8.l\xee\xd8AP\xfc$$\xda\tX\x93O\xa7\xd2\xe2… 259 t4 = _tls_P_MD5(b'\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\… 260 t5 = _tls_P_MD5(b'\x0c'*16, b"Test With Truncation", 64) == b'\xb3>\xfaj\xc8\x95S\xcd\xdd\xea\x8b\x… 261 t6 = _tls_P_MD5(b'\xaa'*80, b"Test Using Larger Than Block-Size Key - Hash Key First", 64) == b';\x… 262 t7 = _tls_P_MD5(b'\xaa'*80, b"Test Using Larger Than Block-Size Key and Larger Than One Block-Size …
|