aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/pk_engine.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-02 02:53:51 +0000
committerlloyd <[email protected]>2010-03-02 02:53:51 +0000
commit1fac460e94edf5c4dda296588a87476195f08c24 (patch)
treebd505c2e05ea3a0ffc3cf026322fdc29b3f3479d /src/libstate/pk_engine.cpp
parent9c2131c935f052f3c783e3fd35e13f2908d02a98 (diff)
Remove ECDSA_Op and its attendant bits
Diffstat (limited to 'src/libstate/pk_engine.cpp')
-rw-r--r--src/libstate/pk_engine.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/libstate/pk_engine.cpp b/src/libstate/pk_engine.cpp
index d6f4f7015..38fe17d73 100644
--- a/src/libstate/pk_engine.cpp
+++ b/src/libstate/pk_engine.cpp
@@ -110,27 +110,6 @@ DH_Operation* dh_op(const DL_Group& group, const BigInt& x)
}
#endif
-#if defined(BOTAN_HAS_ECDSA)
-/*
-* Acquire an ECDSA op
-*/
-ECDSA_Operation* ecdsa_op(const EC_Domain_Params& dom_pars,
- const BigInt& priv_key,
- const PointGFp& pub_key)
- {
- Algorithm_Factory::Engine_Iterator i(global_state().algorithm_factory());
-
- while(const Engine* engine = i.next())
- {
- ECDSA_Operation* op = engine->ecdsa_op(dom_pars, priv_key, pub_key);
- if(op)
- return op;
- }
-
- throw Lookup_Error("Engine_Core::ecdsa_op: Unable to find a working engine");
- }
-#endif
-
#if defined(BOTAN_HAS_ECKAEG)
/*
* Acquire a ECKAEG op