Botan 3.11.0
Crypto and TLS for C&
Botan::PrecomputedBaseMulTable< C, W > Class Template Referencefinal

#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
 PrecomputedBaseMulTable (const AffinePoint &p)

Static Public Attributes

static constexpr size_t WindowBits = W

Detailed Description

template<typename C, size_t W>
class Botan::PrecomputedBaseMulTable< C, W >

Definition at line 1390 of file pcurves_impl.h.

Member Typedef Documentation

◆ AffinePoint

template<typename C, size_t W>
typedef C::AffinePoint Botan::PrecomputedBaseMulTable< C, W >::AffinePoint

Definition at line 1393 of file pcurves_impl.h.

◆ BlindedScalar

template<typename C, size_t W>
using Botan::PrecomputedBaseMulTable< C, W >::BlindedScalar = BlindedScalarBits<C, WindowBits + 1>

Definition at line 1400 of file pcurves_impl.h.

◆ ProjectivePoint

template<typename C, size_t W>
typedef C::ProjectivePoint Botan::PrecomputedBaseMulTable< C, W >::ProjectivePoint

Definition at line 1394 of file pcurves_impl.h.

◆ Scalar

template<typename C, size_t W>
typedef C::Scalar Botan::PrecomputedBaseMulTable< C, W >::Scalar

Definition at line 1392 of file pcurves_impl.h.

Constructor & Destructor Documentation

◆ PrecomputedBaseMulTable()

template<typename C, size_t W>
Botan::PrecomputedBaseMulTable< C, W >::PrecomputedBaseMulTable ( const AffinePoint & p)
inlineexplicit

Member Function Documentation

◆ mul()

template<typename C, size_t W>
ProjectivePoint Botan::PrecomputedBaseMulTable< C, W >::mul ( const Scalar & s,
RandomNumberGenerator & rng ) const
inline

Definition at line 1407 of file pcurves_impl.h.

1407 {
1408 const BlindedScalar scalar(s, rng);
1410 }
BlindedScalarBits< C, WindowBits+1 > BlindedScalar
C::ProjectivePoint basemul_booth_exec(std::span< const typename C::AffinePoint > table, const BlindedScalar &scalar, RandomNumberGenerator &rng)

References Botan::basemul_booth_exec().

Member Data Documentation

◆ WindowBits

template<typename C, size_t W>
size_t Botan::PrecomputedBaseMulTable< C, W >::WindowBits = W
staticconstexpr

Definition at line 1396 of file pcurves_impl.h.

Referenced by PrecomputedBaseMulTable().


The documentation for this class was generated from the following file: