Home
last modified time | relevance | path

Searched refs:_tls_hash_algs (Results 1 – 4 of 4) sorted by relevance

/external/scapy/scapy/layers/tls/crypto/
Dprf.py14 from scapy.layers.tls.crypto.hash import _tls_hash_algs
72 hash_md5 = _tls_hash_algs["MD5"]()
106 hash_sha1 = _tls_hash_algs["SHA"]()
107 hash_md5 = _tls_hash_algs["MD5"]()
252 md5 = _tls_hash_algs["MD5"]()
253 sha1 = _tls_hash_algs["SHA"]()
272 s1 = _tls_hash_algs["MD5"]().digest(handshake_msg)
273 s2 = _tls_hash_algs["SHA"]().digest(handshake_msg)
277 h = _tls_hash_algs["SHA256"]()
279 h = _tls_hash_algs[self.hash_name]()
[all …]
Dh_mac.py13 from scapy.layers.tls.crypto.hash import _tls_hash_algs
37 dct["hash_alg"] = _tls_hash_algs[hash_name]
38 dct["hmac_len"] = _tls_hash_algs[hash_name].hash_len
Dhash.py15 _tls_hash_algs = {} variable
28 _tls_hash_algs[hash_name[5:]] = the_class
Dsuites.py15 from scapy.layers.tls.crypto.hash import _tls_hash_algs
33 hash_alg = _tls_hash_algs.get("SHA256")
46 hash_alg = _tls_hash_algs.get(hash_name)
65 hash_alg = _tls_hash_algs.get(hash_name)