aboutsummaryrefslogtreecommitdiffstats
path: root/checks/pk.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-08 15:45:43 +0000
committerlloyd <[email protected]>2010-03-08 15:45:43 +0000
commit868c7f7d9c306e6e15d24f2b32e529aa1956516e (patch)
tree2d179e2ff08144c63ad5d7462cd5923524a92d33 /checks/pk.cpp
parent8a47f6f2bbf169a2ea0853234f81b49070c770df (diff)
Rename PK_Encryptor_MR_with_EME and PK_Decryptor_MR_with_EME to
PK_Encryptor_EME and PK_Decryptor_EME; the message recovery is somewhat implicit in the recovery of the plaintext.
Diffstat (limited to 'checks/pk.cpp')
-rw-r--r--checks/pk.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/checks/pk.cpp b/checks/pk.cpp
index cee298f6b..a69fa7bc7 100644
--- a/checks/pk.cpp
+++ b/checks/pk.cpp
@@ -238,8 +238,8 @@ u32bit validate_rsa_enc_pkcs8(const std::string& algo,
std::string eme = algo.substr(12, std::string::npos);
- PK_Encryptor_MR_with_EME e(*rsapub, eme);
- PK_Decryptor_MR_with_EME d(*rsapriv, eme);
+ PK_Encryptor_EME e(*rsapub, eme);
+ PK_Decryptor_EME d(*rsapriv, eme);
bool failure = false;
validate_encryption(e, d, algo, str[1], str[2], str[3], failure);
@@ -265,8 +265,8 @@ u32bit validate_rsa_enc(const std::string& algo,
std::string eme = algo.substr(6, std::string::npos);
- PK_Encryptor_MR_with_EME e(pubkey, eme);
- PK_Decryptor_MR_with_EME d(privkey, eme);
+ PK_Encryptor_EME e(pubkey, eme);
+ PK_Decryptor_EME d(privkey, eme);
bool failure = false;
validate_encryption(e, d, algo, str[3], str[4], str[5], failure);
@@ -291,12 +291,12 @@ u32bit validate_elg_enc(const std::string& algo,
std::string eme = algo.substr(8, std::string::npos);
- PK_Decryptor_MR_with_EME d(privkey, eme);
+ PK_Decryptor_EME d(privkey, eme);
bool failure = false;
if(str.size() == 7)
{
- PK_Encryptor_MR_with_EME e(pubkey, eme);
+ PK_Encryptor_EME e(pubkey, eme);
validate_encryption(e, d, algo, str[4], str[5], str[6], failure);
}
else