another file permutation for rsa nist tested.
diff --git a/tests/utils.py b/tests/utils.py
index 9bcedcf..2fdff0b 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -303,6 +303,7 @@
def load_rsa_nist_vectors(vector_data):
test_data = None
p = None
+ salt_length = None
data = []
for line in vector_data:
@@ -345,6 +346,8 @@
"q": q,
"algorithm": value.encode("ascii")
}
+ if salt_length is not None:
+ test_data["salt_length"] = salt_length
data.append(test_data)
elif name == "e" and p is not None:
test_data["public_exponent"] = int(value, 16)