From afc2518fbfd9e816c035b953926f8f7d4a94c1fd Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 18 Mar 2014 07:51:56 -0400 Subject: another file permutation for rsa nist tested. --- tests/utils.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/utils.py') diff --git a/tests/utils.py b/tests/utils.py index 9bcedcf7..2fdff0b9 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -303,6 +303,7 @@ def load_pkcs1_vectors(vector_data): 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 @@ def load_rsa_nist_vectors(vector_data): "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) -- cgit v1.2.3