Botan 3.6.1
Crypto and TLS for C&
|
#include <point_mul.h>
Public Member Functions | |
EC_Point_Base_Point_Precompute (const EC_Point &base_point, const Modular_Reducer &mod_order) | |
EC_Point | mul (const BigInt &k, RandomNumberGenerator &rng, const BigInt &group_order, std::vector< BigInt > &ws) const |
Definition at line 16 of file point_mul.h.
Botan::EC_Point_Base_Point_Precompute::EC_Point_Base_Point_Precompute | ( | const EC_Point & | base_point, |
const Modular_Reducer & | mod_order ) |
Definition at line 35 of file point_mul.cpp.
References Botan::BigInt::bits(), Botan::EC_Point::force_all_affine(), Botan::Modular_Reducer::get_modulus(), Botan::EC_Point::mult2(), Botan::EC_Point::plus(), Botan::round_up(), Botan::EC_Point::swap(), T, and Botan::EC_Point::WORKSPACE_SIZE.
EC_Point Botan::EC_Point_Base_Point_Precompute::mul | ( | const BigInt & | k, |
RandomNumberGenerator & | rng, | ||
const BigInt & | group_order, | ||
std::vector< BigInt > & | ws ) const |
Definition at line 79 of file point_mul.cpp.
References Botan::EC_Point::add_affine(), Botan::BigInt::bits(), BOTAN_ASSERT, BOTAN_DEBUG_ASSERT, Botan::BigInt::get_substring(), Botan::CT::Mask< T >::is_equal(), Botan::BigInt::is_negative(), Botan::RandomNumberGenerator::is_seeded(), Botan::EC_Point::on_the_curve(), Botan::EC_Point::randomize_repr(), Botan::Modular_Reducer::reduce(), Botan::round_up(), Botan::EC_Point::WORKSPACE_SIZE, and Botan::EC_Point::zero().