aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Fenzl <thomas.fenzl@gmx.net>2014-04-15 14:37:01 -0400
committerThomas Fenzl <thomas.fenzl@gmx.net>2014-04-15 14:37:01 -0400
commit48e0c20b908ac68be67188533e9fb4a1cdc0dd9d (patch)
tree1ccc465af47782beebf646721a0826dc4fdfe476 /tests
parentb30ecd747e5834614794243e83e62cac65bfe549 (diff)
downloadcryptography-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')
-rw-r--r--tests/hazmat/primitives/test_rsa.py10
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(),