|
Botan 3.9.0
Crypto and TLS for C&
|
#include <pcurves_impl.h>
Public Types | |
| typedef C::AffinePoint | AffinePoint |
| using | BlindedScalar = BlindedScalarBits<C, WindowBits + 1> |
| typedef C::ProjectivePoint | ProjectivePoint |
| typedef C::Scalar | Scalar |
Public Member Functions | |
| ProjectivePoint | mul (const Scalar &s, RandomNumberGenerator &rng) const |
| WindowedBoothMulTable (const AffinePoint &p) | |
Static Public Member Functions | |
| static constexpr size_t | compute_full_windows (size_t sb, size_t wb) |
| static constexpr size_t | compute_initial_shift (size_t sb, size_t wb) |
Static Public Attributes | |
| static constexpr size_t | FullWindows = compute_full_windows(BlindedScalar::Bits + 1, WindowBits) |
| static constexpr size_t | InitialShift = compute_initial_shift(BlindedScalar::Bits + 1, WindowBits) |
| static constexpr size_t | TableBits = W |
| static constexpr size_t | TableSize = 1 << TableBits |
| static constexpr size_t | WindowBits = TableBits + 1 |
Precomputed point multiplication table with Booth
Definition at line 1451 of file pcurves_impl.h.
| typedef C::AffinePoint Botan::WindowedBoothMulTable< C, W >::AffinePoint |
Definition at line 1454 of file pcurves_impl.h.
| using Botan::WindowedBoothMulTable< C, W >::BlindedScalar = BlindedScalarBits<C, WindowBits + 1> |
Definition at line 1462 of file pcurves_impl.h.
| typedef C::ProjectivePoint Botan::WindowedBoothMulTable< C, W >::ProjectivePoint |
Definition at line 1455 of file pcurves_impl.h.
| typedef C::Scalar Botan::WindowedBoothMulTable< C, W >::Scalar |
Definition at line 1453 of file pcurves_impl.h.
|
inlineexplicit |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inline |
Definition at line 1492 of file pcurves_impl.h.
References Botan::BlindedScalarBits< C, WindowBits+1 >::Bits, FullWindows, Botan::BlindedScalarBits< C, WindowBits >::get_window(), InitialShift, Botan::CT::poison(), Botan::CT::unpoison(), and WindowBits.
|
staticconstexpr |
Definition at line 1472 of file pcurves_impl.h.
Referenced by mul().
|
staticconstexpr |
Definition at line 1482 of file pcurves_impl.h.
Referenced by mul().
|
staticconstexpr |
Definition at line 1457 of file pcurves_impl.h.
|
staticconstexpr |
Definition at line 1488 of file pcurves_impl.h.
Referenced by WindowedBoothMulTable().
|
staticconstexpr |
Definition at line 1460 of file pcurves_impl.h.
Referenced by mul().