aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/engine/dyn_engine/dyn_engine.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-02-03 08:11:45 +0000
committerlloyd <[email protected]>2015-02-03 08:11:45 +0000
commitf9a7c85b74be0f4a7273e8e0591703af83036e81 (patch)
tree075dbe119fc16863cad99b432ca6251778bd8fd1 /src/lib/engine/dyn_engine/dyn_engine.h
parent69d2cd919c698a6b138b2ccba0de5d5aa2a33a03 (diff)
Convert PK operations to using Algo_Registry instead of Engine.
Remove global PRNG.
Diffstat (limited to 'src/lib/engine/dyn_engine/dyn_engine.h')
-rw-r--r--src/lib/engine/dyn_engine/dyn_engine.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/lib/engine/dyn_engine/dyn_engine.h b/src/lib/engine/dyn_engine/dyn_engine.h
index d559a518a..d40df5663 100644
--- a/src/lib/engine/dyn_engine/dyn_engine.h
+++ b/src/lib/engine/dyn_engine/dyn_engine.h
@@ -62,42 +62,6 @@ class BOTAN_DLL Dynamically_Loaded_Engine : public Engine
return engine->find_pbkdf(algo_spec, af);
}
- Modular_Exponentiator* mod_exp(const BigInt& n,
- Power_Mod::Usage_Hints hints) const override
- {
- return engine->mod_exp(n, hints);
- }
-
- PK_Ops::Key_Agreement*
- get_key_agreement_op(const Private_Key& key, RandomNumberGenerator& rng) const override
- {
- return engine->get_key_agreement_op(key, rng);
- }
-
- PK_Ops::Signature*
- get_signature_op(const Private_Key& key, const std::string& emsa, RandomNumberGenerator& rng) const override
- {
- return engine->get_signature_op(key, emsa, rng);
- }
-
- PK_Ops::Verification*
- get_verify_op(const Public_Key& key, const std::string& emsa, RandomNumberGenerator& rng) const override
- {
- return engine->get_verify_op(key, emsa, rng);
- }
-
- PK_Ops::Encryption*
- get_encryption_op(const Public_Key& key, RandomNumberGenerator& rng) const override
- {
- return engine->get_encryption_op(key, rng);
- }
-
- PK_Ops::Decryption*
- get_decryption_op(const Private_Key& key, RandomNumberGenerator& rng) const override
- {
- return engine->get_decryption_op(key, rng);
- }
-
private:
class Dynamically_Loaded_Library* lib;
Engine* engine;