Botan 3.5.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 1158 of file pcurves_impl.h.
typedef C::AffinePoint Botan::WindowedMulTable< C, W >::AffinePoint |
Definition at line 1161 of file pcurves_impl.h.
using Botan::WindowedMulTable< C, W >::BlindedScalar = BlindedScalarBits<C, WindowBits> |
Definition at line 1167 of file pcurves_impl.h.
typedef C::ProjectivePoint Botan::WindowedMulTable< C, W >::ProjectivePoint |
Definition at line 1162 of file pcurves_impl.h.
typedef C::Scalar Botan::WindowedMulTable< C, W >::Scalar |
Definition at line 1160 of file pcurves_impl.h.
|
inline |
Definition at line 1176 of file pcurves_impl.h.
References Botan::WindowedMulTable< C, W >::TableSize.
|
inline |
Definition at line 1192 of file pcurves_impl.h.
References BOTAN_DEBUG_ASSERT, Botan::BlindedScalarBits< C, WindowBits >::get_window(), Botan::WindowedMulTable< C, W >::WindowBits, and Botan::WindowedMulTable< C, W >::Windows.
|
staticconstexpr |
Definition at line 1174 of file pcurves_impl.h.
Referenced by Botan::WindowedMulTable< C, W >::WindowedMulTable().
|
staticconstexpr |
Definition at line 1164 of file pcurves_impl.h.
Referenced by Botan::WindowedMulTable< C, W >::mul().
|
staticconstexpr |
Definition at line 1169 of file pcurves_impl.h.
Referenced by Botan::WindowedMulTable< C, W >::mul().