Botan 3.6.1
Crypto and TLS for C&
|
#include <point_mul.h>
Public Member Functions | |
EC_Point_Multi_Point_Precompute (const EC_Point &g1, const EC_Point &g2) | |
EC_Point | multi_exp (const BigInt &k1, const BigInt &k2) const |
Definition at line 64 of file point_mul.h.
Botan::EC_Point_Multi_Point_Precompute::EC_Point_Multi_Point_Precompute | ( | const EC_Point & | g1, |
const EC_Point & | g2 ) |
Definition at line 274 of file point_mul.cpp.
References Botan::EC_Point::mult2(), Botan::EC_Point::on_the_curve(), Botan::EC_Point::plus(), and Botan::EC_Point::zero().
EC_Point Botan::EC_Point_Multi_Point_Precompute::multi_exp | ( | const BigInt & | k1, |
const BigInt & | k2 ) const |
Definition at line 327 of file point_mul.cpp.
References Botan::EC_Point::add(), Botan::EC_Point::add_affine(), Botan::BigInt::bits(), Botan::BigInt::get_substring(), Botan::BigInt::is_negative(), Botan::EC_Point::mult2i(), Botan::EC_Point::negate(), Botan::round_up(), and Botan::EC_Point::zero().
Referenced by Botan::EC_Mul2Table_Data_BN::mul2_vartime(), Botan::EC_Mul2Table_Data_BN::mul2_vartime_x_mod_order_eq(), and Botan::multi_exponentiate().