cryptography/tests
Paul Kehrer 2bb6785aef
add AES128/AES256 classes (#7542)
These let developers be more explicit about the allowable key lengths
for an AES key and make auditing the codebase a bit easier.

But that's not really why we're adding them. In some upcoming
serialization features we need to be able to specify AES 128 vs AES 256
and the current class doesn't work for that since it computes key
length from the key you provide it when instantiating the class.
That's incompatible with serialization where the key is derived
later in the process. C'est la vie.
2022-08-26 00:19:12 -04:00
..
bench Added a benchmark for ChaCha20 AEAD (#7427) 2022-07-16 21:38:29 +00:00
hazmat add AES128/AES256 classes (#7542) 2022-08-26 00:19:12 -04:00
hypothesis Implement a parser for RFC4514 strings (#7055) 2022-04-16 10:21:45 +02:00
wycheproof fix typo in test name (#7426) 2022-07-16 21:31:50 +00:00
x509 Fix issue #7513 - parsing of RFC4514 strings should reverse the order of RDNs (#7514) 2022-08-16 14:57:20 -05:00
__init__.py
conftest.py Ensure there's nothing on the error stack after tests (#5997) 2021-09-26 12:07:24 +08:00
deprecated_module.py refactor utils.deprecated to be more mypy friendly (#6923) 2022-03-03 03:46:30 +08:00
doubles.py type a test double (#6723) 2021-12-21 21:10:54 -05:00
test_cryptography_utils.py Remove explicit subclassing of object now that all classes are new-style (#6830) 2022-01-30 16:29:24 +00:00
test_fernet.py Allow Fernet decryption to accept string tokens (#7116) 2022-04-29 22:27:47 +00:00
test_interfaces.py Remove explicit subclassing of object now that all classes are new-style (#6830) 2022-01-30 16:29:24 +00:00
test_meta.py add some more mypy flags (#6751) 2021-12-23 07:55:23 -05:00
test_rust_utils.py Added FixedPool abstraction for use in optimizing various types (#7303) 2022-07-16 13:50:46 -05:00
test_utils.py Resolve new flake8 errors (#7462) 2022-07-30 16:29:00 -10:00
test_warnings.py refactor utils.deprecated to be more mypy friendly (#6923) 2022-03-03 03:46:30 +08:00
utils.py KBKDF: add CounterLocation.MiddleFixed (#7489) 2022-08-15 08:19:12 -04:00