aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-06-02 08:42:44 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-06-02 08:42:44 -0500
commit43cd3d2e386b99b52bcda67e5699043244089372 (patch)
tree22c1571bf10b6f31efc74c5d3294ed6bce07419e /tests/utils.py
parenta3836b45d725ce8728c4de8303ffd76689882272 (diff)
parent83e563e6a8b8f20925e96e7b792e6543d9888531 (diff)
downloadcryptography-43cd3d2e386b99b52bcda67e5699043244089372.tar.gz
cryptography-43cd3d2e386b99b52bcda67e5699043244089372.tar.bz2
cryptography-43cd3d2e386b99b52bcda67e5699043244089372.zip
Merge pull request #1907 from simo5/ECDHKDFTests
Ecdh kdf tests
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index ab922c94..46d93646 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -739,8 +739,12 @@ def load_kasvs_ecdh_vectors(vector_data):
data["IUT"]["x"] = int(line.split("=")[1], 16)
elif line.startswith("QsIUTy = "):
data["IUT"]["y"] = int(line.split("=")[1], 16)
+ elif line.startswith("OI = "):
+ data["OI"] = int(line.split("=")[1], 16)
elif line.startswith("Z = "):
data["Z"] = int(line.split("=")[1], 16)
+ elif line.startswith("DKM = "):
+ data["DKM"] = int(line.split("=")[1], 16)
elif line.startswith("Result = "):
result_str = line.split("=")[1].strip()
match = result_rx.match(result_str)