diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-11-22 14:10:59 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-11-29 17:19:45 -0600 |
commit | ce9c611feb4db781fcab5b7bbc68b936816d6a73 (patch) | |
tree | 4a100b1c88c38cba5df20ee4950d240507e7d7d1 /tests/hazmat/primitives/test_block.py | |
parent | 6331daa36902edf5a5dd04e4e3fa0e188db59420 (diff) | |
download | cryptography-ce9c611feb4db781fcab5b7bbc68b936816d6a73.tar.gz cryptography-ce9c611feb4db781fcab5b7bbc68b936816d6a73.tar.bz2 cryptography-ce9c611feb4db781fcab5b7bbc68b936816d6a73.zip |
enforce AEAD add_data before update
Diffstat (limited to 'tests/hazmat/primitives/test_block.py')
-rw-r--r-- | tests/hazmat/primitives/test_block.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/primitives/test_block.py b/tests/hazmat/primitives/test_block.py index 296821a4..2806efd5 100644 --- a/tests/hazmat/primitives/test_block.py +++ b/tests/hazmat/primitives/test_block.py @@ -26,7 +26,7 @@ from cryptography.hazmat.primitives.ciphers import ( Cipher, algorithms, modes ) -from .utils import generate_aead_use_after_finalize_test +from .utils import generate_aead_exception_test @utils.register_interface(interfaces.CipherAlgorithm) @@ -127,7 +127,7 @@ class TestCipherContext(object): class TestAEADCipherContext(object): - test_use_after_finalize = generate_aead_use_after_finalize_test( + test_aead_exceptions = generate_aead_exception_test( algorithms.AES, modes.GCM, only_if=lambda backend: backend.cipher_supported( |