Botan 3.9.0
Crypto and TLS for C&
Botan::WindowedMul2Table< C, W > Class Template Referencefinal

#include <pcurves_impl.h>

Public Types

typedef C::AffinePoint AffinePoint
typedef C::ProjectivePoint ProjectivePoint
typedef C::Scalar Scalar

Public Member Functions

ProjectivePoint mul2 (const Scalar &s1, const Scalar &s2, RandomNumberGenerator &rng) const
 WindowedMul2Table (const AffinePoint &p, const AffinePoint &q)

Detailed Description

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

Definition at line 1546 of file pcurves_impl.h.

Member Typedef Documentation

◆ AffinePoint

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

Definition at line 1552 of file pcurves_impl.h.

◆ ProjectivePoint

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

Definition at line 1553 of file pcurves_impl.h.

◆ Scalar

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

Definition at line 1551 of file pcurves_impl.h.

Constructor & Destructor Documentation

◆ WindowedMul2Table()

template<typename C, size_t W>
Botan::WindowedMul2Table< C, W >::WindowedMul2Table ( const AffinePoint & p,
const AffinePoint & q )
inline

Definition at line 1555 of file pcurves_impl.h.

References Botan::mul2_setup().

Member Function Documentation

◆ mul2()

template<typename C, size_t W>
ProjectivePoint Botan::WindowedMul2Table< C, W >::mul2 ( const Scalar & s1,
const Scalar & s2,
RandomNumberGenerator & rng ) const
inline

Constant time 2-ary multiplication

Definition at line 1560 of file pcurves_impl.h.

1560 {
1564
1565 return mul2_exec<C, W>(m_table, bits1, bits2, rng);
1566 }
C::ProjectivePoint mul2_exec(const AffinePointTable< C > &table, const BlindedScalar &x, const BlindedScalar &y, RandomNumberGenerator &rng)

References Botan::mul2_exec().

Referenced by Botan::PCurve::PrimeOrderCurveImpl< C >::mul_px_qy().


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