Home
last modified time | relevance | path

Searched refs:hmac_supported (Results 1 – 10 of 10) sorted by relevance

/external/python/cryptography/tests/hazmat/primitives/
Dtest_hmac_vectors.py19 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(
Dtest_hkdf_vectors.py19 only_if=lambda backend: backend.hmac_supported(hashes.SHA1()),
33 only_if=lambda backend: backend.hmac_supported(hashes.SHA256()),
Dtest_hmac.py23 only_if=lambda backend: backend.hmac_supported(hashes.MD5()),
Dutils.py389 if algorithm is None or not backend.hmac_supported(algorithm()):
/external/python/cryptography/tests/hazmat/primitives/twofactor/
Dtest_totp.py26 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()),
Dtest_hotp.py27 only_if=lambda backend: backend.hmac_supported(hashes.SHA1()),
/external/python/cryptography/src/cryptography/hazmat/primitives/kdf/
Dkbkdf.py45 if not backend.hmac_supported(algorithm):
/external/python/cryptography/src/cryptography/hazmat/backends/
Dinterfaces.py51 def hmac_supported(self, algorithm): member in HMACBackend
/external/python/cryptography/docs/hazmat/backends/
Dinterfaces.rst120 .. method:: hmac_supported(algorithm)
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dbackend.py208 def hmac_supported(self, algorithm): member in Backend
293 return self.hmac_supported(algorithm)