diff options
author | lloyd <[email protected]> | 2010-03-08 15:45:43 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-08 15:45:43 +0000 |
commit | 868c7f7d9c306e6e15d24f2b32e529aa1956516e (patch) | |
tree | 2d179e2ff08144c63ad5d7462cd5923524a92d33 /src/pubkey/elgamal/elgamal.cpp | |
parent | 8a47f6f2bbf169a2ea0853234f81b49070c770df (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 'src/pubkey/elgamal/elgamal.cpp')
-rw-r--r-- | src/pubkey/elgamal/elgamal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pubkey/elgamal/elgamal.cpp b/src/pubkey/elgamal/elgamal.cpp index 6b919d916..fe83b3b2b 100644 --- a/src/pubkey/elgamal/elgamal.cpp +++ b/src/pubkey/elgamal/elgamal.cpp @@ -65,8 +65,8 @@ bool ElGamal_PrivateKey::check_key(RandomNumberGenerator& rng, try { - PK_Encryptor_MR_with_EME this_encryptor(*this, "EME1(SHA-1)"); - PK_Decryptor_MR_with_EME this_decryptor(*this, "EME1(SHA-1)"); + PK_Encryptor_EME this_encryptor(*this, "EME1(SHA-1)"); + PK_Decryptor_EME this_decryptor(*this, "EME1(SHA-1)"); KeyPair::check_key(rng, this_encryptor, |