aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_rsa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/test_rsa.cpp')
-rw-r--r--src/tests/test_rsa.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_rsa.cpp b/src/tests/test_rsa.cpp
index 940525574..dcc741bd2 100644
--- a/src/tests/test_rsa.cpp
+++ b/src/tests/test_rsa.cpp
@@ -37,7 +37,7 @@ size_t rsaes_kat(const std::string& e,
if(padding == "")
padding = "Raw";
- PK_Encryptor_EME enc(pubkey, padding);
+ PK_Encryptor_EME enc(pubkey, padding, "base");
PK_Decryptor_EME dec(privkey, padding);
return validate_encryption(enc, dec, "RSAES/" + padding, msg, nonce, output);
@@ -61,7 +61,7 @@ size_t rsa_sig_kat(const std::string& e,
padding = "Raw";
PK_Verifier verify(pubkey, padding);
- PK_Signer sign(privkey, padding);
+ PK_Signer sign(privkey, padding, IEEE_1363, "base");
return validate_signature(verify, sign, "RSA/" + padding, msg, rng, nonce, output);
}