Botan  1.10.9
gnump_engine.h
Go to the documentation of this file.
1 /*
2 * GMP Engine
3 * (C) 1999-2007 Jack Lloyd
4 *
5 * Distributed under the terms of the Botan license
6 */
7 
8 #ifndef BOTAN_ENGINE_GMP_H__
9 #define BOTAN_ENGINE_GMP_H__
10 
11 #include <botan/engine.h>
12 
13 namespace Botan {
14 
15 /**
16 * Engine using GNU MP
17 */
18 class GMP_Engine : public Engine
19  {
20  public:
21  GMP_Engine();
22  ~GMP_Engine();
23 
24  std::string provider_name() const { return "gmp"; }
25 
27  get_key_agreement_op(const Private_Key& key) const;
28 
30  get_signature_op(const Private_Key& key) const;
31 
33 
35 
37 
40  };
41 
42 }
43 
44 #endif
PK_Ops::Encryption * get_encryption_op(const Public_Key &key) const
Definition: gnump_pk.cpp:317
PK_Ops::Verification * get_verify_op(const Public_Key &key) const
Definition: gnump_pk.cpp:301
PK_Ops::Signature * get_signature_op(const Private_Key &key) const
Definition: gnump_pk.cpp:285
PK_Ops::Decryption * get_decryption_op(const Private_Key &key) const
Definition: gnump_pk.cpp:328
Modular_Exponentiator * mod_exp(const BigInt &, Power_Mod::Usage_Hints) const
Definition: gmp_powm.cpp:47
std::string provider_name() const
Definition: gnump_engine.h:24
PK_Ops::Key_Agreement * get_key_agreement_op(const Private_Key &key) const
Definition: gnump_pk.cpp:274