7#ifndef BOTAN_BARRETT_REDUCTION_H_
8#define BOTAN_BARRETT_REDUCTION_H_
10#include <botan/bigint.h>
79 size_t m_modulus_bits;
static Barrett_Reduction for_public_modulus(const BigInt &m)
size_t modulus_bits() const
BigInt cube(const BigInt &x) const
static Barrett_Reduction for_secret_modulus(const BigInt &m)
BigInt reduce(const BigInt &x) const
BigInt multiply(const BigInt &x, const BigInt &y) const
BigInt square(const BigInt &x) const