Botan 3.0.0-alpha0
Crypto and TLS for C&
|
#include <point_mul.h>
Public Member Functions | |
PointGFp | multi_exp (const BigInt &k1, const BigInt &k2) const |
PointGFp_Multi_Point_Precompute (const PointGFp &g1, const PointGFp &g2) | |
Definition at line 66 of file point_mul.h.
Botan::PointGFp_Multi_Point_Precompute::PointGFp_Multi_Point_Precompute | ( | const PointGFp & | g1, |
const PointGFp & | g2 | ||
) |
Definition at line 320 of file point_mul.cpp.
References Botan::PointGFp::force_all_affine(), Botan::PointGFp::mult2(), Botan::PointGFp::on_the_curve(), Botan::PointGFp::plus(), Botan::PointGFp::WORKSPACE_SIZE, and Botan::PointGFp::zero().
PointGFp Botan::PointGFp_Multi_Point_Precompute::multi_exp | ( | const BigInt & | k1, |
const BigInt & | k2 | ||
) | const |
Definition at line 377 of file point_mul.cpp.
References Botan::PointGFp::add(), Botan::PointGFp::add_affine(), Botan::BigInt::bits(), Botan::BigInt::get_substring(), Botan::BigInt::is_negative(), Botan::PointGFp::mult2i(), Botan::PointGFp::negate(), Botan::round_up(), and Botan::PointGFp::WORKSPACE_SIZE.
Referenced by Botan::multi_exponentiate(), and Botan::EC_Group::point_multiply().