Searched refs:_tls_hash_algs (Results 1 – 4 of 4) sorted by relevance
14 from scapy.layers.tls.crypto.hash import _tls_hash_algs72 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 …]
13 from scapy.layers.tls.crypto.hash import _tls_hash_algs37 dct["hash_alg"] = _tls_hash_algs[hash_name]38 dct["hmac_len"] = _tls_hash_algs[hash_name].hash_len
15 _tls_hash_algs = {} variable28 _tls_hash_algs[hash_name[5:]] = the_class
15 from scapy.layers.tls.crypto.hash import _tls_hash_algs33 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)