diff options
author | lloyd <[email protected]> | 2008-11-08 21:30:31 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-08 21:30:31 +0000 |
commit | 28901d2b99d6b9066cfdff6329d26fb975c52809 (patch) | |
tree | 5a9f3f93004d4aa40013b5cafe25069e12fc8cb6 /src/pubkey/elgamal/elg_op.cpp | |
parent | ce8c2d27fced15e87829852231d00c197f42bc20 (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.cpp | 10 |
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); - } - } |