Home
last modified time | relevance | path

Searched refs:hash_supported (Results 1 – 7 of 7) sorted by relevance

/external/python/cryptography/tests/hazmat/primitives/
Dtest_hash_vectors.py20 only_if=lambda backend: backend.hash_supported(hashes.SHA1()),
37 only_if=lambda backend: backend.hash_supported(hashes.SHA224()),
54 only_if=lambda backend: backend.hash_supported(hashes.SHA256()),
71 only_if=lambda backend: backend.hash_supported(hashes.SHA384()),
88 only_if=lambda backend: backend.hash_supported(hashes.SHA512()),
105 only_if=lambda backend: backend.hash_supported(hashes.SHA512_224()),
122 only_if=lambda backend: backend.hash_supported(hashes.SHA512_256()),
139 only_if=lambda backend: backend.hash_supported(hashes.MD5()),
155 only_if=lambda backend: backend.hash_supported(
172 only_if=lambda backend: backend.hash_supported(
[all …]
Dtest_hashes.py50 only_if=lambda backend: backend.hash_supported(hashes.SHA1()),
62 only_if=lambda backend: backend.hash_supported(hashes.SHA224()),
74 only_if=lambda backend: backend.hash_supported(hashes.SHA256()),
86 only_if=lambda backend: backend.hash_supported(hashes.SHA384()),
98 only_if=lambda backend: backend.hash_supported(hashes.SHA512()),
110 only_if=lambda backend: backend.hash_supported(hashes.MD5()),
122 only_if=lambda backend: backend.hash_supported(
145 only_if=lambda backend: backend.hash_supported(
Dtest_x963_vectors.py22 if not backend.hash_supported(hashfn):
Dtest_rsa.py469 backend.hash_supported(hashes.SHA512()) and
500 only_if=lambda backend: backend.hash_supported(hashes.SHA512()),
638 only_if=lambda backend: backend.hash_supported(
1029 only_if=lambda backend: backend.hash_supported(hashes.SHA512()),
1250 backend.hash_supported(hashes.SHA1()) and
1268 backend.hash_supported(hashes.SHA224()) and
1286 backend.hash_supported(hashes.SHA256()) and
1304 backend.hash_supported(hashes.SHA384()) and
1322 backend.hash_supported(hashes.SHA512()) and
/external/python/cryptography/src/cryptography/hazmat/backends/
Dinterfaces.py36 def hash_supported(self, algorithm): member in HashBackend
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dbackend.py204 def hash_supported(self, algorithm): member in Backend
209 return self.hash_supported(algorithm)
576 return self.hash_supported(padding._mgf._algorithm)
682 return self.hash_supported(algorithm)
/external/python/cryptography/docs/hazmat/backends/
Dinterfaces.rst87 .. method:: hash_supported(algorithm)