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 /checks/pk_bench.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 'checks/pk_bench.cpp')
-rw-r--r-- | checks/pk_bench.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/checks/pk_bench.cpp b/checks/pk_bench.cpp index 0cc1bea3a..c9e79e997 100644 --- a/checks/pk_bench.cpp +++ b/checks/pk_bench.cpp @@ -214,8 +214,8 @@ void benchmark_rsa(RandomNumberGenerator& rng, while(verify_timer.seconds() < seconds || sig_timer.seconds() < seconds) { - PK_Encryptor_MR_with_EME enc(key, enc_padding); - PK_Decryptor_MR_with_EME dec(key, enc_padding); + PK_Encryptor_EME enc(key, enc_padding); + PK_Decryptor_EME dec(key, enc_padding); benchmark_enc_dec(enc, dec, enc_timer, dec_timer, rng, 10000, seconds); @@ -675,8 +675,8 @@ void benchmark_elg(RandomNumberGenerator& rng, ElGamal_PrivateKey key(rng, group); keygen_timer.stop(); - PK_Decryptor_MR_with_EME dec(key, padding); - PK_Encryptor_MR_with_EME enc(key, padding); + PK_Decryptor_EME dec(key, padding); + PK_Encryptor_EME enc(key, padding); benchmark_enc_dec(enc, dec, enc_timer, dec_timer, rng, 1000, seconds); |