Home
last modified time | relevance | path

Searched refs:raises_unsupported_algorithm (Results 1 – 21 of 21) sorted by relevance

/external/python/cryptography/tests/hazmat/backends/
Dtest_openssl.py35 load_nist_vectors, load_vectors_from_file, raises_unsupported_algorithm
97 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_CIPHER):
385 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_PADDING):
401 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_PADDING):
413 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_PADDING):
426 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_CIPHER):
484 with raises_unsupported_algorithm(None):
486 with raises_unsupported_algorithm(None):
508 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_ELLIPTIC_CURVE):
565 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_SERIALIZATION):
[all …]
/external/python/cryptography/tests/hazmat/primitives/
Dtest_pbkdf2hmac.py17 from ...utils import raises_unsupported_algorithm
38 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_HASH):
69 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
Dtest_hmac.py19 from ...utils import raises_unsupported_algorithm
81 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_HASH):
96 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
Dtest_kbkdf.py19 from ...utils import raises_unsupported_algorithm
116 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_HASH):
122 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_HASH):
128 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
Dtest_x448.py20 load_nist_vectors, load_vectors_from_file, raises_unsupported_algorithm
30 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_EXCHANGE_ALGORITHM):
33 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_EXCHANGE_ALGORITHM):
36 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_EXCHANGE_ALGORITHM):
Dtest_x25519.py21 load_nist_vectors, load_vectors_from_file, raises_unsupported_algorithm
31 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_EXCHANGE_ALGORITHM):
34 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_EXCHANGE_ALGORITHM):
37 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_EXCHANGE_ALGORITHM):
Dtest_hashes.py17 from ...utils import raises_unsupported_algorithm
45 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_HASH):
170 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
Dtest_x963kdf.py18 from ...utils import raises_unsupported_algorithm
130 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
Dtest_hkdf.py20 load_nist_vectors, load_vectors_from_file, raises_unsupported_algorithm
262 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
265 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
Dtest_block.py23 from ...utils import raises_unsupported_algorithm
111 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_CIPHER):
114 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_CIPHER):
Dtest_concatkdf.py20 from ...utils import raises_unsupported_algorithm
304 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
306 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
Dtest_cmac.py21 load_nist_vectors, load_vectors_from_file, raises_unsupported_algorithm
204 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
Dtest_rsa.py43 load_vectors_from_file, raises_unsupported_algorithm
339 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_PADDING):
353 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
555 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_PADDING):
571 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_MGF):
652 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_HASH):
970 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_PADDING):
1008 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_MGF):
1437 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_PADDING):
1643 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_MGF):
[all …]
Dtest_ec.py30 raises_unsupported_algorithm
369 with raises_unsupported_algorithm(
384 with raises_unsupported_algorithm(
389 with raises_unsupported_algorithm(
394 with raises_unsupported_algorithm(
399 with raises_unsupported_algorithm(
1280 with raises_unsupported_algorithm(
Dtest_aead.py21 raises_unsupported_algorithm
44 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_CIPHER):
192 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_CIPHER):
Dtest_ciphers.py21 load_nist_vectors, load_vectors_from_file, raises_unsupported_algorithm
194 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
Dtest_serialization.py34 from ...utils import raises_unsupported_algorithm
730 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_CIPHER):
930 with raises_unsupported_algorithm(_Reasons.UNSUPPORTED_CIPHER):
/external/python/cryptography/tests/hazmat/primitives/twofactor/
Dtest_hotp.py19 load_nist_vectors, load_vectors_from_file, raises_unsupported_algorithm
123 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
Dtest_totp.py16 load_nist_vectors, load_vectors_from_file, raises_unsupported_algorithm
154 with raises_unsupported_algorithm(_Reasons.BACKEND_MISSING_INTERFACE):
/external/python/cryptography/tests/
Dtest_utils.py27 load_vectors_from_file, load_x963_vectors, raises_unsupported_algorithm
3762 with raises_unsupported_algorithm(None):
3769 with raises_unsupported_algorithm(None):
3777 with raises_unsupported_algorithm(
3785 with raises_unsupported_algorithm(
Dutils.py39 def raises_unsupported_algorithm(reason): function