Botan 3.9.0
Crypto and TLS for C&
|
#include <pcurves_impl.h>
Public Types | |
typedef C::AffinePoint | AffinePoint |
using | BlindedScalar = BlindedScalarBits<C, WindowBits> |
typedef C::ProjectivePoint | ProjectivePoint |
typedef C::Scalar | Scalar |
Public Member Functions | |
ProjectivePoint | mul (const Scalar &s, RandomNumberGenerator &rng) const |
WindowedMulTable (const AffinePoint &p) |
Static Public Attributes | |
static constexpr size_t | TableSize = (1 << WindowBits) - 1 |
static constexpr size_t | WindowBits = W |
static constexpr size_t | Windows = (BlindedScalar::Bits + WindowBits - 1) / WindowBits |
Precomputed point multiplication table
This is a standard fixed window multiplication using W-bit wide window.
Definition at line 1418 of file pcurves_impl.h.
typedef C::AffinePoint Botan::WindowedMulTable< C, W >::AffinePoint |
Definition at line 1421 of file pcurves_impl.h.
using Botan::WindowedMulTable< C, W >::BlindedScalar = BlindedScalarBits<C, WindowBits> |
Definition at line 1427 of file pcurves_impl.h.
typedef C::ProjectivePoint Botan::WindowedMulTable< C, W >::ProjectivePoint |
Definition at line 1422 of file pcurves_impl.h.
typedef C::Scalar Botan::WindowedMulTable< C, W >::Scalar |
Definition at line 1420 of file pcurves_impl.h.
|
inlineexplicit |
Definition at line 1436 of file pcurves_impl.h.
References TableSize, and Botan::varpoint_setup().
|
inline |
Definition at line 1438 of file pcurves_impl.h.
References Botan::varpoint_exec().
|
staticconstexpr |
Definition at line 1434 of file pcurves_impl.h.
Referenced by WindowedMulTable().
|
staticconstexpr |
Definition at line 1424 of file pcurves_impl.h.
|
staticconstexpr |
Definition at line 1429 of file pcurves_impl.h.