aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/if_algo/if_op.h
blob: be9a4581c638d8fa6b69ba2e72eac2c42221cc38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*************************************************
* IF Operations Header File                      *
* (C) 1999-2008 Jack Lloyd                       *
*************************************************/

#ifndef BOTAN_IF_OP_H__
#define BOTAN_IF_OP_H__

#include <botan/bigint.h>

namespace Botan {

/*************************************************
* IF Operation                                   *
*************************************************/
class BOTAN_DLL IF_Operation
   {
   public:
      virtual BigInt public_op(const BigInt&) const = 0;
      virtual BigInt private_op(const BigInt&) const = 0;
      virtual IF_Operation* clone() const = 0;
      virtual ~IF_Operation() {}
   };

}

#endif