diff options
author | lloyd <lloyd@randombit.net> | 2010-03-05 17:40:45 +0000 |
---|---|---|
committer | lloyd <lloyd@randombit.net> | 2010-03-05 17:40:45 +0000 |
commit | be9d7d1031bba2cd4f415d114389a1f50c61d44b (patch) | |
tree | c6714d8c40ac685c98e4b8bfbacdd14d99d64a63 /src/engine | |
parent | cdd1a1509ffc74c74bd902d55a7a85ab9e2afe78 (diff) |
Remove IF_Core
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/def_engine/def_pk_ops.cpp | 14 | ||||
-rw-r--r-- | src/engine/def_engine/default_engine.h | 6 | ||||
-rw-r--r-- | src/engine/engine.h | 11 |
3 files changed, 0 insertions, 31 deletions
diff --git a/src/engine/def_engine/def_pk_ops.cpp b/src/engine/def_engine/def_pk_ops.cpp index 88880eea6..d3264e67e 100644 --- a/src/engine/def_engine/def_pk_ops.cpp +++ b/src/engine/def_engine/def_pk_ops.cpp @@ -8,7 +8,6 @@ #include <botan/internal/default_engine.h> #if defined(BOTAN_HAS_RSA) - #include <botan/if_op.h> #include <botan/rsa.h> #endif @@ -168,17 +167,4 @@ Default_Engine::get_verify_op(const Public_Key& key) const return 0; } -#if defined(BOTAN_HAS_IF_PUBLIC_KEY_FAMILY) -/* -* Acquire an IF op -*/ -IF_Operation* Default_Engine::if_op(const BigInt& e, const BigInt& n, - const BigInt& d, const BigInt& p, - const BigInt& q, const BigInt& d1, - const BigInt& d2, const BigInt& c) const - { - return new Default_IF_Op(e, n, d, p, q, d1, d2, c); - } -#endif - } diff --git a/src/engine/def_engine/default_engine.h b/src/engine/def_engine/default_engine.h index 9edd25d2b..1e40cfe46 100644 --- a/src/engine/def_engine/default_engine.h +++ b/src/engine/def_engine/default_engine.h @@ -32,12 +32,6 @@ class Default_Engine : public Engine PK_Ops::Decryption* get_decryption_op(const Private_Key& key) const; -#if defined(BOTAN_HAS_IF_PUBLIC_KEY_FAMILY) - IF_Operation* if_op(const BigInt&, const BigInt&, const BigInt&, - const BigInt&, const BigInt&, const BigInt&, - const BigInt&, const BigInt&) const; -#endif - Modular_Exponentiator* mod_exp(const BigInt& n, Power_Mod::Usage_Hints) const; diff --git a/src/engine/engine.h b/src/engine/engine.h index a3f227412..69592886c 100644 --- a/src/engine/engine.h +++ b/src/engine/engine.h @@ -21,10 +21,6 @@ #include <utility> #include <map> -#if defined(BOTAN_HAS_IF_PUBLIC_KEY_FAMILY) - #include <botan/if_op.h> -#endif - namespace Botan { class Algorithm_Factory; @@ -91,13 +87,6 @@ class BOTAN_DLL Engine { return 0; } - -#if defined(BOTAN_HAS_IF_PUBLIC_KEY_FAMILY) - virtual IF_Operation* if_op(const BigInt&, const BigInt&, const BigInt&, - const BigInt&, const BigInt&, const BigInt&, - const BigInt&, const BigInt&) const - { return 0; } -#endif }; } |