diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-08 09:17:48 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-11-08 09:17:48 -0800 |
commit | 6b3be7f0078bd69f39b6666f7ea84040b7274e68 (patch) | |
tree | 368bce16073c2395c252df0f42285a24e652c158 /tests/hazmat | |
parent | ab8719a903266fda3203bcdfbad7bd510c97c217 (diff) | |
download | cryptography-6b3be7f0078bd69f39b6666f7ea84040b7274e68.tar.gz cryptography-6b3be7f0078bd69f39b6666f7ea84040b7274e68.tar.bz2 cryptography-6b3be7f0078bd69f39b6666f7ea84040b7274e68.zip |
More constant time, better
Diffstat (limited to 'tests/hazmat')
-rw-r--r-- | tests/hazmat/primitives/test_padding.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_padding.py b/tests/hazmat/primitives/test_padding.py index 91d58439..6a2b6243 100644 --- a/tests/hazmat/primitives/test_padding.py +++ b/tests/hazmat/primitives/test_padding.py @@ -30,6 +30,7 @@ class TestPKCS7(object): (128, b"111111111111111\x06"), (128, b""), (128, b"\x06" * 6), + (128, b"\x00" * 16), ]) def test_invalid_padding(self, size, padded): unpadder = padding.PKCS7(size).unpadder() |