diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-09-12 15:03:32 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-09-12 15:03:32 -0500 |
commit | 9a11c00b464225f4aa3e761e103930c6b8b9115b (patch) | |
tree | a68a49de22df129916c4d8b303c8599724b9cacf /tests/hazmat | |
parent | c48abb09571f7ade75612c8f254ca76df41ac80d (diff) | |
download | cryptography-9a11c00b464225f4aa3e761e103930c6b8b9115b.tar.gz cryptography-9a11c00b464225f4aa3e761e103930c6b8b9115b.tar.bz2 cryptography-9a11c00b464225f4aa3e761e103930c6b8b9115b.zip |
resolve GCM tag issue with AAD only on OpenSSL 1.0.1 in Ubuntu 12.04
Diffstat (limited to 'tests/hazmat')
-rw-r--r-- | tests/hazmat/primitives/test_aes.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/hazmat/primitives/test_aes.py b/tests/hazmat/primitives/test_aes.py index 13682753..e8e0eee4 100644 --- a/tests/hazmat/primitives/test_aes.py +++ b/tests/hazmat/primitives/test_aes.py @@ -230,10 +230,10 @@ class TestAESModeGCM(object): ) def test_gcm_tag_with_only_aad(self, backend): - key = binascii.unhexlify(b"1dde380d6b04fdcb004005b8a77bd5e3") - iv = binascii.unhexlify(b"5053bf901463f97decd88c33") - aad = binascii.unhexlify(b"f807f5f6133021d15cb6434d5ad95cf7d8488727") - tag = binascii.unhexlify(b"4bebf3ff2cb67bb5444dda53bd039e22") + key = binascii.unhexlify(b"5211242698bed4774a090620a6ca56f3") + iv = binascii.unhexlify(b"b1e1349120b6e832ef976f5d") + aad = binascii.unhexlify(b"b6d729aab8e6416d7002b9faa794c410d8d2f193") + tag = binascii.unhexlify(b"0f247e7f9c2505de374006738018493b") cipher = base.Cipher( algorithms.AES(key), |