Botan 3.9.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 281 of file point_mul.cpp.
References EC_Point_Multi_Point_Precompute(), 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().
Referenced by EC_Point_Multi_Point_Precompute().
EC_Point Botan::EC_Point_Multi_Point_Precompute::multi_exp | ( | const BigInt & | k1, |
const BigInt & | k2 ) const |
Definition at line 334 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(), multi_exp(), Botan::EC_Point::negate(), Botan::round_up(), Botan::EC_Point::WORKSPACE_SIZE, and Botan::EC_Point::zero().
Referenced by multi_exp(), and Botan::multi_exponentiate().