diff options
author | Thomas Fenzl <thomas.fenzl@gmx.net> | 2014-04-15 14:37:01 -0400 |
---|---|---|
committer | Thomas Fenzl <thomas.fenzl@gmx.net> | 2014-04-15 14:37:01 -0400 |
commit | 48e0c20b908ac68be67188533e9fb4a1cdc0dd9d (patch) | |
tree | 1ccc465af47782beebf646721a0826dc4fdfe476 /tests/hazmat | |
parent | b30ecd747e5834614794243e83e62cac65bfe549 (diff) | |
download | cryptography-48e0c20b908ac68be67188533e9fb4a1cdc0dd9d.tar.gz cryptography-48e0c20b908ac68be67188533e9fb4a1cdc0dd9d.tar.bz2 cryptography-48e0c20b908ac68be67188533e9fb4a1cdc0dd9d.zip |
added unused NIST test files for FIPS 186-2 RSA (PKCS#1 v1.5) to test cases
Diffstat (limited to 'tests/hazmat')
-rw-r--r-- | tests/hazmat/primitives/test_rsa.py | 10 |
1 files changed, 10 insertions, 0 deletions
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(), |