Botan 2.19.3
Crypto and TLS for C&
|
#include <point_mul.h>
Public Member Functions | |
PointGFp | mul (const BigInt &k, RandomNumberGenerator &rng, const BigInt &group_order, std::vector< BigInt > &ws) const |
PointGFp_Base_Point_Precompute (const PointGFp &base_point, const Modular_Reducer &mod_order) | |
Definition at line 16 of file point_mul.h.
Botan::PointGFp_Base_Point_Precompute::PointGFp_Base_Point_Precompute | ( | const PointGFp & | base_point, |
const Modular_Reducer & | mod_order | ||
) |
Definition at line 54 of file point_mul.cpp.
References Botan::BigInt::bits(), Botan::PointGFp::force_all_affine(), Botan::PointGFp::get_curve(), Botan::Modular_Reducer::get_modulus(), Botan::CurveGFp::get_p(), Botan::PointGFp::mult2(), Botan::PointGFp::plus(), Botan::round_up(), Botan::PointGFp::swap(), T, and Botan::PointGFp::WORKSPACE_SIZE.
PointGFp Botan::PointGFp_Base_Point_Precompute::mul | ( | const BigInt & | k, |
RandomNumberGenerator & | rng, | ||
const BigInt & | group_order, | ||
std::vector< BigInt > & | ws | ||
) | const |
Definition at line 109 of file point_mul.cpp.
References Botan::PointGFp::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::PointGFp::on_the_curve(), Botan::PointGFp::randomize_repr(), Botan::Modular_Reducer::reduce(), Botan::round_up(), Botan::PointGFp::WORKSPACE_SIZE, and Botan::PointGFp::zero().