Botan 3.1.1
Crypto and TLS for C&
|
#include <point_mul.h>
Public Member Functions | |
EC_Point_Var_Point_Precompute (const EC_Point &point, RandomNumberGenerator &rng, std::vector< BigInt > &ws) | |
EC_Point | mul (const BigInt &k, RandomNumberGenerator &rng, const BigInt &group_order, std::vector< BigInt > &ws) const |
Definition at line 41 of file point_mul.h.
Botan::EC_Point_Var_Point_Precompute::EC_Point_Var_Point_Precompute | ( | const EC_Point & | point, |
RandomNumberGenerator & | rng, | ||
std::vector< BigInt > & | ws | ||
) |
Definition at line 166 of file point_mul.cpp.
References Botan::BigInt::bits(), Botan::EC_Point::double_of(), Botan::CurveGFp::get_p(), Botan::BigInt::get_word_vector(), Botan::RandomNumberGenerator::is_seeded(), Botan::CurveGFp::mul(), Botan::EC_Point::plus(), Botan::BigInt::randomize(), Botan::BigInt::set_bit(), Botan::CurveGFp::sqr(), Botan::EC_Point::WORKSPACE_SIZE, and Botan::EC_Point::zero().
EC_Point Botan::EC_Point_Var_Point_Precompute::mul | ( | const BigInt & | k, |
RandomNumberGenerator & | rng, | ||
const BigInt & | group_order, | ||
std::vector< BigInt > & | ws | ||
) | const |
Definition at line 225 of file point_mul.cpp.
References Botan::EC_Point::add(), Botan::BigInt::bits(), BOTAN_DEBUG_ASSERT, Botan::clear_mem(), Botan::BigInt::get_substring(), Botan::CT::Mask< T >::is_equal(), Botan::BigInt::is_negative(), Botan::EC_Point::mult2i(), Botan::EC_Point::on_the_curve(), Botan::EC_Point::randomize_repr(), Botan::round_up(), and Botan::EC_Point::WORKSPACE_SIZE.
Referenced by Botan::EC_Group::blinded_var_point_multiply().