Home
last modified time | relevance | path

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

/external/python/cryptography/tests/hazmat/primitives/
Dtest_hash_vectors.py20 only_if=lambda backend: backend.hash_supported(hashes.SHA1()),
34 only_if=lambda backend: backend.hash_supported(hashes.SHA224()),
48 only_if=lambda backend: backend.hash_supported(hashes.SHA256()),
62 only_if=lambda backend: backend.hash_supported(hashes.SHA384()),
76 only_if=lambda backend: backend.hash_supported(hashes.SHA512()),
90 only_if=lambda backend: backend.hash_supported(hashes.SHA512_224()),
104 only_if=lambda backend: backend.hash_supported(hashes.SHA512_256()),
118 only_if=lambda backend: backend.hash_supported(hashes.MD5()),
132 only_if=lambda backend: backend.hash_supported(
148 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(
146 only_if=lambda backend: backend.hash_supported(
Dtest_x963_vectors.py21 if not backend.hash_supported(hashfn):
Dtest_rsa.py505 backend.hash_supported(hashes.SHA512())
536 only_if=lambda backend: backend.hash_supported(hashes.SHA512()),
666 only_if=lambda backend: backend.hash_supported(
1114 only_if=lambda backend: backend.hash_supported(hashes.SHA512()),
1346 backend.hash_supported(hashes.SHA1())
1366 backend.hash_supported(hashes.SHA224())
1386 backend.hash_supported(hashes.SHA256())
1406 backend.hash_supported(hashes.SHA384())
1426 backend.hash_supported(hashes.SHA512())
/external/python/cryptography/tests/wycheproof/
Dtest_ecdsa.py75 if not backend.hash_supported(digest):
Dtest_hmac.py43 if not backend.hash_supported(hash_algo):
Dtest_rsa.py73 if digest is None or not backend.hash_supported(digest):
/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.py342 def hash_supported(self, algorithm): member in Backend
350 return self.hash_supported(algorithm)
796 return self.hash_supported(padding._mgf._algorithm)
909 return self.hash_supported(algorithm)
/external/python/cryptography/tests/x509/
Dtest_x509.py2445 only_if=lambda backend: backend.hash_supported(hashes.MD5()),
2469 only_if=lambda backend: backend.hash_supported(hashes.MD5()),
2493 only_if=lambda backend: backend.hash_supported(hashes.MD5()),
3391 only_if=lambda backend: backend.hash_supported(hashes.MD5()),
3405 only_if=lambda backend: backend.hash_supported(hashes.MD5()),
3418 only_if=lambda backend: backend.hash_supported(hashes.MD5()),
/external/python/cryptography/docs/hazmat/backends/
Dinterfaces.rst87 .. method:: hash_supported(algorithm)