|
Botan 2.19.5
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 343 of file point_mul.cpp.
References Botan::PointGFp::force_all_affine(), Botan::PointGFp::mult2(), Botan::PointGFp::plus(), and Botan::PointGFp::WORKSPACE_SIZE.
| PointGFp Botan::PointGFp_Multi_Point_Precompute::multi_exp | ( | const BigInt & | k1, |
| const BigInt & | k2 | ||
| ) | const |
Definition at line 394 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().