aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/elgamal/elg_op.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-08 21:30:31 +0000
committerlloyd <[email protected]>2008-11-08 21:30:31 +0000
commit28901d2b99d6b9066cfdff6329d26fb975c52809 (patch)
tree5a9f3f93004d4aa40013b5cafe25069e12fc8cb6 /src/pubkey/elgamal/elg_op.cpp
parentce8c2d27fced15e87829852231d00c197f42bc20 (diff)
Remove dependency on Default_Engine from pubkey code
Diffstat (limited to 'src/pubkey/elgamal/elg_op.cpp')
-rw-r--r--src/pubkey/elgamal/elg_op.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/pubkey/elgamal/elg_op.cpp b/src/pubkey/elgamal/elg_op.cpp
index 3f276de09..6c1686f22 100644
--- a/src/pubkey/elgamal/elg_op.cpp
+++ b/src/pubkey/elgamal/elg_op.cpp
@@ -4,7 +4,6 @@
*************************************************/
#include <botan/elg_op.h>
-#include <botan/eng_def.h>
namespace Botan {
@@ -52,13 +51,4 @@ BigInt Default_ELG_Op::decrypt(const BigInt& a, const BigInt& b) const
return mod_p.multiply(b, inverse_mod(powermod_x_p(a), p));
}
-/*************************************************
-* Acquire an ElGamal op *
-*************************************************/
-ELG_Operation* Default_Engine::elg_op(const DL_Group& group, const BigInt& y,
- const BigInt& x) const
- {
- return new Default_ELG_Op(group, y, x);
- }
-
}