8 #ifndef BOTAN_MODULAR_REDUCER_H__
9 #define BOTAN_MODULAR_REDUCER_H__
11 #include <botan/numthry.h>
32 {
return reduce(x * y); }
48 {
return multiply(x, this->
square(x)); }
55 BigInt modulus, modulus_2, mu;
BigInt cube(const BigInt &x) const
BigInt multiply(const BigInt &x, const BigInt &y) const
BigInt square(const BigInt &x)
BigInt square(const BigInt &x) const
const BigInt & get_modulus() const