Home
last modified time | relevance | path

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

/external/scapy/scapy/layers/tls/crypto/
Dpkcs1.py75 md5_hash = hashes.Hash(_get_hash("md5"), backend=default_backend())
77 sha1_hash = hashes.Hash(_get_hash("sha1"), backend=default_backend())
92 _get_hash = None variable
112 def _get_hash(hashStr): function
145 h = _get_hash(h)
153 h = _get_hash(h)
192 h = _get_hash(h)
200 h = _get_hash(h)
Dhkdf.py12 from scapy.layers.tls.crypto.pkcs1 import _get_hash
23 self.hash = _get_hash(hash_name)
/external/autotest/client/site_tests/hardware_TrimIntegrity/
Dhardware_TrimIntegrity.py50 def _get_hash(self, chunk_count, chunk_size): member in hardware_TrimIntegrity
160 ref_hash = self._get_hash(chunk_count, chunk_size)
197 cur_hash = self._get_hash(chunk_count, chunk_size)
/external/scapy/scapy/layers/tls/
Dcert.py50 from scapy.layers.tls.crypto.pkcs1 import (pkcs_os2ip, pkcs_i2osp, _get_hash,
328 verifier = self.pubkey.verifier(sig, ec.ECDSA(_get_hash(h)))
522 verifier = self.pubkey.verifier(sig, ec.ECDSA(_get_hash(h)))
528 signer = self.key.signer(ec.ECDSA(_get_hash(h)))