Botan 3.5.0
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 267 of file point_mul.cpp.
References Botan::EC_Point::force_all_affine(), Botan::EC_Point::mult2(), Botan::EC_Point::on_the_curve(), Botan::EC_Point::plus(), Botan::EC_Point::WORKSPACE_SIZE, 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 320 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::WORKSPACE_SIZE.
Referenced by Botan::multi_exponentiate(), and Botan::EC_Group::point_multiply().