Searched refs:hmac_supported (Results 1 – 10 of 10) sorted by relevance
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_hmac_vectors.py | 19 only_if=lambda backend: backend.hmac_supported(hashes.MD5()), 35 only_if=lambda backend: backend.hmac_supported(hashes.SHA1()), 51 only_if=lambda backend: backend.hmac_supported(hashes.SHA224()), 67 only_if=lambda backend: backend.hmac_supported(hashes.SHA256()), 83 only_if=lambda backend: backend.hmac_supported(hashes.SHA384()), 99 only_if=lambda backend: backend.hmac_supported(hashes.SHA512()), 115 only_if=lambda backend: backend.hmac_supported(hashes.BLAKE2b(
|
D | test_hkdf_vectors.py | 19 only_if=lambda backend: backend.hmac_supported(hashes.SHA1()), 33 only_if=lambda backend: backend.hmac_supported(hashes.SHA256()),
|
D | test_hmac.py | 23 only_if=lambda backend: backend.hmac_supported(hashes.MD5()),
|
D | utils.py | 389 if algorithm is None or not backend.hmac_supported(algorithm()):
|
/external/python/cryptography/tests/hazmat/primitives/twofactor/ |
D | test_totp.py | 26 only_if=lambda backend: backend.hmac_supported(hashes.SHA1()), 40 only_if=lambda backend: backend.hmac_supported(hashes.SHA256()), 54 only_if=lambda backend: backend.hmac_supported(hashes.SHA512()), 68 only_if=lambda backend: backend.hmac_supported(hashes.SHA1()), 83 only_if=lambda backend: backend.hmac_supported(hashes.SHA256()), 98 only_if=lambda backend: backend.hmac_supported(hashes.SHA512()),
|
D | test_hotp.py | 27 only_if=lambda backend: backend.hmac_supported(hashes.SHA1()),
|
/external/python/cryptography/src/cryptography/hazmat/primitives/kdf/ |
D | kbkdf.py | 45 if not backend.hmac_supported(algorithm):
|
/external/python/cryptography/src/cryptography/hazmat/backends/ |
D | interfaces.py | 51 def hmac_supported(self, algorithm): member in HMACBackend
|
/external/python/cryptography/docs/hazmat/backends/ |
D | interfaces.rst | 120 .. method:: hmac_supported(algorithm)
|
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/ |
D | backend.py | 208 def hmac_supported(self, algorithm): member in Backend 293 return self.hmac_supported(algorithm)
|