8#ifndef BOTAN_POWER_MOD_H__
9#define BOTAN_POWER_MOD_H__
11#include <botan/bigint.h>
51 static size_t window_bits(
size_t exp_bits,
size_t base_bits,
54 void set_modulus(
const BigInt&, Usage_Hints = NO_HINTS)
const;
55 void set_base(
const BigInt&)
const;
56 void set_exponent(
const BigInt&)
const;
81 Usage_Hints = NO_HINTS);
95 Usage_Hints = NO_HINTS);
BigInt operator()(const BigInt &e) const
BigInt operator()(const BigInt &b) const
Fixed_Exponent_Power_Mod()
virtual ~Modular_Exponentiator()
virtual void set_exponent(const BigInt &)=0
virtual BigInt execute() const =0
virtual Modular_Exponentiator * copy() const =0
virtual void set_base(const BigInt &)=0
void set_exponent(const BigInt &) const
void set_base(const BigInt &) const
Power_Mod(const BigInt &=0, Usage_Hints=NO_HINTS)