aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/primitives/test_X963_vectors.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-09-24 20:23:08 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-09-24 20:23:08 -0400
commitace036dc677ec90174859708dc18312a97893d07 (patch)
tree3c330339bdc0778af37c2c404d701bec0ae240d0 /tests/hazmat/primitives/test_X963_vectors.py
parentddc9a581efbc11d9b6ccf74c9bcc11c4318be9ae (diff)
downloadcryptography-ace036dc677ec90174859708dc18312a97893d07.tar.gz
cryptography-ace036dc677ec90174859708dc18312a97893d07.tar.bz2
cryptography-ace036dc677ec90174859708dc18312a97893d07.zip
Some cleanups
Diffstat (limited to 'tests/hazmat/primitives/test_X963_vectors.py')
-rw-r--r--tests/hazmat/primitives/test_X963_vectors.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/hazmat/primitives/test_X963_vectors.py b/tests/hazmat/primitives/test_X963_vectors.py
index 14bcff47..0332e601 100644
--- a/tests/hazmat/primitives/test_X963_vectors.py
+++ b/tests/hazmat/primitives/test_X963_vectors.py
@@ -57,9 +57,9 @@ class TestX963(object):
key = binascii.unhexlify(vector["Z"])
sharedinfo = None
- if vector["SharedInfo length"] != 0:
- sharedinfo = binascii.unhexlify(vector["SharedInfo"])
- key_data_len = vector["key data length"] // 8
+ if vector["sharedinfo_length"] != 0:
+ sharedinfo = binascii.unhexlify(vector["sharedinfo"])
+ key_data_len = vector["key_data_length"] // 8
key_data = binascii.unhexlify(vector["key_data"])
xkdf = X963KDF(algorithm=hashfn(),