From 1fac460e94edf5c4dda296588a87476195f08c24 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 2 Mar 2010 02:53:51 +0000 Subject: Remove ECDSA_Op and its attendant bits --- src/engine/def_engine/def_pk_ops.cpp | 16 ---------------- src/engine/def_engine/default_engine.h | 6 ------ src/engine/engine.h | 12 ------------ 3 files changed, 34 deletions(-) (limited to 'src/engine') diff --git a/src/engine/def_engine/def_pk_ops.cpp b/src/engine/def_engine/def_pk_ops.cpp index 3ac608819..177040805 100644 --- a/src/engine/def_engine/def_pk_ops.cpp +++ b/src/engine/def_engine/def_pk_ops.cpp @@ -27,10 +27,6 @@ #include #endif -#if defined(BOTAN_HAS_ECDSA) - #include -#endif - #if defined(BOTAN_HAS_ECKAEG) #include #endif @@ -94,18 +90,6 @@ DH_Operation* Default_Engine::dh_op(const DL_Group& group, } #endif -#if defined(BOTAN_HAS_ECDSA) -/* -* Acquire a ECDSA op -*/ -ECDSA_Operation* Default_Engine::ecdsa_op(const EC_Domain_Params& dom_pars, - const BigInt& priv_key, - const PointGFp& pub_key) const - { - return new Default_ECDSA_Op(dom_pars, priv_key, pub_key); - } -#endif - #if defined(BOTAN_HAS_ECKAEG) /* * Acquire a ECKAEG op diff --git a/src/engine/def_engine/default_engine.h b/src/engine/def_engine/default_engine.h index 6846d3497..5fe4c373b 100644 --- a/src/engine/def_engine/default_engine.h +++ b/src/engine/def_engine/default_engine.h @@ -44,12 +44,6 @@ class Default_Engine : public Engine DH_Operation* dh_op(const DL_Group&, const BigInt&) const; #endif -#if defined(BOTAN_HAS_ECDSA) - virtual ECDSA_Operation* ecdsa_op(const EC_Domain_Params&, - const BigInt&, - const PointGFp&) const; -#endif - #if defined(BOTAN_HAS_ECKAEG) virtual ECKAEG_Operation* eckaeg_op(const EC_Domain_Params&, const BigInt&, diff --git a/src/engine/engine.h b/src/engine/engine.h index 66a159e38..8c1b9dd5f 100644 --- a/src/engine/engine.h +++ b/src/engine/engine.h @@ -39,11 +39,6 @@ #include #endif -#if defined(BOTAN_HAS_ECDSA) - #include - #include -#endif - #if defined(BOTAN_HAS_ECKAEG) #include #include @@ -120,13 +115,6 @@ class BOTAN_DLL Engine { return 0; } #endif -#if defined(BOTAN_HAS_ECDSA) - virtual ECDSA_Operation* ecdsa_op(const EC_Domain_Params&, - const BigInt&, - const PointGFp&) const - { return 0; } -#endif - #if defined(BOTAN_HAS_ECKAEG) virtual ECKAEG_Operation* eckaeg_op(const EC_Domain_Params&, const BigInt&, -- cgit v1.2.3