Botan  2.13.0
Crypto and TLS for C++11
Namespaces | Functions
monty_exp.cpp File Reference
#include <botan/internal/monty_exp.h>
#include <botan/internal/ct_utils.h>
#include <botan/internal/rounding.h>
#include <botan/numthry.h>
#include <botan/reducer.h>
#include <botan/monty.h>

Go to the source code of this file.




BigInt Botan::monty_execute (const Montgomery_Exponentation_State &precomputed_state, const BigInt &k, size_t max_k_bits)
BigInt Botan::monty_execute_vartime (const Montgomery_Exponentation_State &precomputed_state, const BigInt &k)
BigInt Botan::monty_multi_exp (std::shared_ptr< 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 (std::shared_ptr< const Montgomery_Params > params, const BigInt &g, size_t window_bits, bool const_time)