aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_cmac.py
diff options
context:
space:
mode:
authorAyrx <terrycwk1994@gmail.com>2014-04-21 11:40:47 +0800
committerAyrx <terrycwk1994@gmail.com>2014-04-22 12:12:41 +0800
commit458cfd5df6902f4ee427fa0ca0eb67a8031b204c (patch)
tree519cb24cf21d96ddec48337a40889e4584b82e02 /tests/hazmat/primitives/test_cmac.py
parent4b8628aa626413d41ebc976c1a097ca3f4e13959 (diff)
downloadcryptography-458cfd5df6902f4ee427fa0ca0eb67a8031b204c.tar.gz
cryptography-458cfd5df6902f4ee427fa0ca0eb67a8031b204c.tar.bz2
cryptography-458cfd5df6902f4ee427fa0ca0eb67a8031b204c.zip
Changed stub keys and ivs to use null bytes
Diffstat (limited to 'tests/hazmat/primitives/test_cmac.py')
-rw-r--r--tests/hazmat/primitives/test_cmac.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_cmac.py b/tests/hazmat/primitives/test_cmac.py
index a1c24ada..dd7f9df4 100644
--- a/tests/hazmat/primitives/test_cmac.py
+++ b/tests/hazmat/primitives/test_cmac.py
@@ -49,7 +49,7 @@ vectors_aes = vectors_aes128 + vectors_aes192 + vectors_aes256
vectors_3des = load_vectors_from_file(
"CMAC/nist-800-38b-3des.txt", load_nist_vectors)
-fake_key = "AAAAAAAAAAAAAAAA"
+fake_key = b"\x00" * 16
@pytest.mark.cmac