7#ifndef BOTAN_MONTY_EXP_H_
8#define BOTAN_MONTY_EXP_H_
10#include <botan/internal/monty.h>
87 const Montgomery_Params& params_p,
const BigInt& x,
const BigInt& z1,
const BigInt& y,
const BigInt& z2);
Montgomery_Exponentiation_State()=default
Montgomery_Exponentiation_State & operator=(Montgomery_Exponentiation_State &&other)=delete
Montgomery_Exponentiation_State & operator=(const Montgomery_Exponentiation_State &other)=delete
Montgomery_Exponentiation_State(Montgomery_Exponentiation_State &&other)=delete
virtual Montgomery_Int exponentiation(const BigInt &k, size_t max_k_bits) const =0
virtual Montgomery_Int exponentiation_vartime(const BigInt &k) const =0
virtual ~Montgomery_Exponentiation_State()=default
Montgomery_Exponentiation_State(const Montgomery_Exponentiation_State &other)=delete
Montgomery_Int monty_exp_vartime(const Montgomery_Params ¶ms_p, const BigInt &g, const BigInt &k)
std::shared_ptr< const Montgomery_Exponentiation_State > monty_precompute(const Montgomery_Int &g, size_t window_bits)
Montgomery_Int monty_multi_exp(const Montgomery_Params ¶ms_p, const BigInt &x_bn, const BigInt &z1, const BigInt &y_bn, const BigInt &z2)
Montgomery_Int monty_execute_vartime(const Montgomery_Exponentiation_State &precomputed_state, const BigInt &k)
Montgomery_Int monty_exp(const Montgomery_Params ¶ms_p, const BigInt &g, const BigInt &k, size_t max_k_bits)
Montgomery_Int monty_execute(const Montgomery_Exponentiation_State &precomputed_state, const BigInt &k, size_t max_k_bits)