aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/rsa_dec.cpp2
-rw-r--r--doc/examples/rsa_enc.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/rsa_dec.cpp b/doc/examples/rsa_dec.cpp
index df681d85b..8353b0449 100644
--- a/doc/examples/rsa_dec.cpp
+++ b/doc/examples/rsa_dec.cpp
@@ -75,7 +75,7 @@ int main(int argc, char* argv[])
SecureVector<byte> enc_masterkey = b64_decode(enc_masterkey_str);
- PK_Decryptor_MR_with_EME decryptor(*rsakey, "EME1(SHA-1)");
+ PK_Decryptor_EME decryptor(*rsakey, "EME1(SHA-1)");
SecureVector<byte> masterkey = decryptor.decrypt(enc_masterkey);
diff --git a/doc/examples/rsa_enc.cpp b/doc/examples/rsa_enc.cpp
index 8ee4df181..6cf555e70 100644
--- a/doc/examples/rsa_enc.cpp
+++ b/doc/examples/rsa_enc.cpp
@@ -77,7 +77,7 @@ int main(int argc, char* argv[])
AutoSeeded_RNG rng;
- PK_Encryptor_MR_with_EME encryptor(*rsakey, "EME1(SHA-1)");
+ PK_Encryptor_EME encryptor(*rsakey, "EME1(SHA-1)");
/* Generate the master key (the other keys are derived from this)