diff options
Diffstat (limited to 'src/engine/def_engine/def_pk_ops.cpp')
-rw-r--r-- | src/engine/def_engine/def_pk_ops.cpp | 41 |
1 files changed, 3 insertions, 38 deletions
diff --git a/src/engine/def_engine/def_pk_ops.cpp b/src/engine/def_engine/def_pk_ops.cpp index 57d17f662..ce23cd8db 100644 --- a/src/engine/def_engine/def_pk_ops.cpp +++ b/src/engine/def_engine/def_pk_ops.cpp @@ -7,27 +7,13 @@ #include <botan/internal/default_engine.h> -#if defined(BOTAN_HAS_IF_PUBLIC_KEY_FAMILY) - #include <botan/if_op.h> -#endif - -#if defined(BOTAN_HAS_DSA) - #include <botan/dsa_op.h> -#endif - -#if defined(BOTAN_HAS_NYBERG_RUEPPEL) - #include <botan/nr_op.h> -#endif - -#if defined(BOTAN_HAS_ELGAMAL) - #include <botan/elg_op.h> -#endif - #if defined(BOTAN_HAS_RSA) + #include <botan/if_op.h> #include <botan/rsa.h> #endif #if defined(BOTAN_HAS_RW) + #include <botan/if_op.h> #include <botan/rw.h> #endif @@ -41,6 +27,7 @@ #if defined(BOTAN_HAS_ELGAMAL) #include <botan/elgamal.h> + #include <botan/elg_op.h> #endif #if defined(BOTAN_HAS_GOST_3410_2001) @@ -164,28 +151,6 @@ IF_Operation* Default_Engine::if_op(const BigInt& e, const BigInt& n, } #endif -#if defined(BOTAN_HAS_DSA) -/* -* Acquire a DSA op -*/ -DSA_Operation* Default_Engine::dsa_op(const DL_Group& group, const BigInt& y, - const BigInt& x) const - { - return new Default_DSA_Op(group, y, x); - } -#endif - -#if defined(BOTAN_HAS_NYBERG_RUEPPEL) -/* -* Acquire a NR op -*/ -NR_Operation* Default_Engine::nr_op(const DL_Group& group, const BigInt& y, - const BigInt& x) const - { - return new Default_NR_Op(group, y, x); - } -#endif - #if defined(BOTAN_HAS_ELGAMAL) /* * Acquire an ElGamal op |