Botan 3.5.0
Crypto and TLS for C&
monty_exp.cpp File Reference
#include <botan/internal/monty_exp.h>
#include <botan/numthry.h>
#include <botan/reducer.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

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 (const 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 (const std::shared_ptr< const Montgomery_Params > &params, const BigInt &g, size_t window_bits, bool const_time)