Botan 3.6.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::RandomNumberGenerator::is_seeded(), Botan::EC_Point::randomize_repr(), and Botan::EC_Point::WORKSPACE_SIZE.
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 205 of file point_mul.cpp.
References Botan::EC_Point::add(), Botan::BigInt::bits(), BOTAN_ASSERT_NOMSG, Botan::clear_mem(), Botan::BigInt::get_substring(), Botan::BigInt::is_negative(), Botan::EC_Point::mult2i(), Botan::EC_Point::on_the_curve(), Botan::EC_Point::randomize_repr(), and Botan::round_up().