Botan 2.19.1
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_Var_Point_Precompute (const PointGFp &point, RandomNumberGenerator &rng, std::vector< BigInt > &ws) | |
Definition at line 41 of file point_mul.h.
Botan::PointGFp_Var_Point_Precompute::PointGFp_Var_Point_Precompute | ( | const PointGFp & | point, |
RandomNumberGenerator & | rng, | ||
std::vector< BigInt > & | ws | ||
) |
Definition at line 202 of file point_mul.cpp.
PointGFp Botan::PointGFp_Var_Point_Precompute::mul | ( | const BigInt & | k, |
RandomNumberGenerator & | rng, | ||
const BigInt & | group_order, | ||
std::vector< BigInt > & | ws | ||
) | const |
Definition at line 267 of file point_mul.cpp.
References Botan::PointGFp::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::PointGFp::mult2i(), Botan::PointGFp::on_the_curve(), Botan::PointGFp::randomize_repr(), Botan::round_up(), and Botan::PointGFp::WORKSPACE_SIZE.
Referenced by Botan::EC_Group::blinded_var_point_multiply().