From 48e0c20b908ac68be67188533e9fb4a1cdc0dd9d Mon Sep 17 00:00:00 2001 From: Thomas Fenzl Date: Tue, 15 Apr 2014 14:37:01 -0400 Subject: added unused NIST test files for FIPS 186-2 RSA (PKCS#1 v1.5) to test cases --- tests/hazmat/primitives/test_rsa.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py index cc87d981..236a3bb1 100644 --- a/tests/hazmat/primitives/test_rsa.py +++ b/tests/hazmat/primitives/test_rsa.py @@ -1065,6 +1065,8 @@ class TestRSAPKCS1Verification(object): load_rsa_nist_vectors, os.path.join("asymmetric", "RSA", "FIPS_186-2"), [ + "SigGen15_186-2.rsp", + "SigGen15_186-3.rsp", "SigVer15_186-3.rsp", ], hashes.SHA1(), @@ -1078,6 +1080,8 @@ class TestRSAPKCS1Verification(object): load_rsa_nist_vectors, os.path.join("asymmetric", "RSA", "FIPS_186-2"), [ + "SigGen15_186-2.rsp", + "SigGen15_186-3.rsp", "SigVer15_186-3.rsp", ], hashes.SHA224(), @@ -1091,6 +1095,8 @@ class TestRSAPKCS1Verification(object): load_rsa_nist_vectors, os.path.join("asymmetric", "RSA", "FIPS_186-2"), [ + "SigGen15_186-2.rsp", + "SigGen15_186-3.rsp", "SigVer15_186-3.rsp", ], hashes.SHA256(), @@ -1104,6 +1110,8 @@ class TestRSAPKCS1Verification(object): load_rsa_nist_vectors, os.path.join("asymmetric", "RSA", "FIPS_186-2"), [ + "SigGen15_186-2.rsp", + "SigGen15_186-3.rsp", "SigVer15_186-3.rsp", ], hashes.SHA384(), @@ -1117,6 +1125,8 @@ class TestRSAPKCS1Verification(object): load_rsa_nist_vectors, os.path.join("asymmetric", "RSA", "FIPS_186-2"), [ + "SigGen15_186-2.rsp", + "SigGen15_186-3.rsp", "SigVer15_186-3.rsp", ], hashes.SHA512(), -- cgit v1.2.3