aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/pk_engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstate/pk_engine.cpp')
-rw-r--r--src/libstate/pk_engine.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/libstate/pk_engine.cpp b/src/libstate/pk_engine.cpp
index d4187adc1..5b7c3b4e1 100644
--- a/src/libstate/pk_engine.cpp
+++ b/src/libstate/pk_engine.cpp
@@ -34,25 +34,6 @@ IF_Operation* if_op(const BigInt& e, const BigInt& n, const BigInt& d,
}
#endif
-#if defined(BOTAN_HAS_ELGAMAL)
-/*
-* Acquire an ElGamal op
-*/
-ELG_Operation* elg_op(const DL_Group& group, const BigInt& y, const BigInt& x)
- {
- Algorithm_Factory::Engine_Iterator i(global_state().algorithm_factory());
-
- while(const Engine* engine = i.next())
- {
- ELG_Operation* op = engine->elg_op(group, y, x);
- if(op)
- return op;
- }
-
- throw Lookup_Error("Engine_Core::elg_op: Unable to find a working engine");
- }
-#endif
-
/*
* Acquire a modular exponentiator
*/