29#if defined(BOTAN_HAS_EME_RAW)
30 if(algo_spec ==
"Raw") {
31 return std::make_unique<EME_Raw>();
35#if defined(BOTAN_HAS_EME_PKCS1)
36 if(algo_spec ==
"PKCS1v15" || algo_spec ==
"EME-PKCS1-v1_5") {
37 return std::make_unique<EME_PKCS1v15>();
41#if defined(BOTAN_HAS_EME_OAEP)
47 return std::make_unique<OAEP>(std::move(hash), req.
arg(2,
""));
52 if(mgf_params.size() == 2 && mgf_params[0] ==
"MGF1") {
56 if(hash && mgf1_hash) {
57 return std::make_unique<OAEP>(std::move(hash), std::move(mgf1_hash), req.
arg(2,
""));