Botan 3.9.0
Crypto and TLS for C&
monty_exp.cpp File Reference
#include <botan/internal/monty_exp.h>
#include <botan/mem_ops.h>
#include <botan/internal/ct_utils.h>
#include <botan/internal/monty.h>
#include <botan/internal/rounding.h>

Go to the source code of this file.

Namespaces

namespace  Botan

Functions

Montgomery_Int Botan::monty_execute (const Montgomery_Exponentation_State &precomputed_state, const BigInt &k, size_t max_k_bits)
Montgomery_Int Botan::monty_execute_vartime (const Montgomery_Exponentation_State &precomputed_state, const BigInt &k)
Montgomery_Int Botan::monty_multi_exp (const Montgomery_Params &params_p, const BigInt &x_bn, const BigInt &z1, const BigInt &y_bn, const BigInt &z2)
std::shared_ptr< const Montgomery_Exponentation_State > Botan::monty_precompute (const Montgomery_Int &g, size_t window_bits, bool const_time)
std::shared_ptr< const Montgomery_Exponentation_State > Botan::monty_precompute (const Montgomery_Params &params, const BigInt &g, size_t window_bits, bool const_time)