Searched refs:hash_supported (Results 1 – 11 of 11) sorted by relevance
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_hash_vectors.py | 20 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 …]
|
D | test_hashes.py | 50 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(
|
D | test_x963_vectors.py | 21 if not backend.hash_supported(hashfn):
|
D | test_rsa.py | 505 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/ |
D | test_ecdsa.py | 75 if not backend.hash_supported(digest):
|
D | test_hmac.py | 43 if not backend.hash_supported(hash_algo):
|
D | test_rsa.py | 73 if digest is None or not backend.hash_supported(digest):
|
/external/python/cryptography/src/cryptography/hazmat/backends/ |
D | interfaces.py | 36 def hash_supported(self, algorithm): member in HashBackend
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | backend.py | 342 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/ |
D | test_x509.py | 2445 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/ |
D | interfaces.rst | 87 .. method:: hash_supported(algorithm)
|