aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_rsa.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-12-20 13:51:28 -0500
committerJack Lloyd <[email protected]>2015-12-20 13:51:28 -0500
commit22d05ebfdbb409530fb20133cf150fb4c419faac (patch)
tree33498ae9e833f11cf2c27d15cbfe2ff502143ccd /src/tests/test_rsa.cpp
parent1752f0d522eef9a4a703fccf702b4b026c1c1d01 (diff)
Add --data-dir option to test command
Understand using '-' on the command line to mean stdin Fix last few unit tests that wanted to write to the filesystem; removes outdata directory.
Diffstat (limited to 'src/tests/test_rsa.cpp')
-rw-r--r--src/tests/test_rsa.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/test_rsa.cpp b/src/tests/test_rsa.cpp
index 5a9a14945..2720ae49a 100644
--- a/src/tests/test_rsa.cpp
+++ b/src/tests/test_rsa.cpp
@@ -22,7 +22,7 @@ class RSA_ES_KAT_Tests : public PK_Encryption_Decryption_Test
public:
RSA_ES_KAT_Tests() : PK_Encryption_Decryption_Test(
"RSA",
- Test::data_file("pubkey/rsaes.vec"),
+ "pubkey/rsaes.vec",
{"E", "P", "Q", "Msg", "Ciphertext"},
{"Padding", "Nonce"})
{}
@@ -43,7 +43,7 @@ class RSA_Signature_KAT_Tests : public PK_Signature_Generation_Test
public:
RSA_Signature_KAT_Tests() : PK_Signature_Generation_Test(
"RSA",
- Test::data_file("pubkey/rsa_sig.vec"),
+ "pubkey/rsa_sig.vec",
{"E", "P", "Q", "Msg", "Signature"},
{"Padding", "Nonce"})
{}
@@ -66,7 +66,7 @@ class RSA_Signature_Verify_Tests : public PK_Signature_Verification_Test
public:
RSA_Signature_Verify_Tests() : PK_Signature_Verification_Test(
"RSA",
- Test::data_file("pubkey/rsa_verify.vec"),
+ "pubkey/rsa_verify.vec",
{"E", "N", "Msg", "Signature"},
{"Padding"})
{}