Botan  2.6.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::Blinded_Point_Multiply Class Referencefinal

#include <point_gfp.h>

Public Member Functions

PointGFp blinded_multiply (const BigInt &scalar, RandomNumberGenerator &rng)
 
 Blinded_Point_Multiply (const PointGFp &base, const BigInt &order, size_t h=0)
 
 ~Blinded_Point_Multiply ()
 

Detailed Description

Deprecated API for point multiplication Use EC_Group::blinded_base_point_multiply or EC_Group::blinded_var_point_multiply

Definition at line 358 of file point_gfp.h.

Constructor & Destructor Documentation

◆ Blinded_Point_Multiply()

Botan::Blinded_Point_Multiply::Blinded_Point_Multiply ( const PointGFp base,
const BigInt order,
size_t  h = 0 
)

Definition at line 21 of file point_mul.cpp.

23  :
25  m_order(order)
26  {
27  BOTAN_UNUSED(h);
28  m_point_mul.reset(new PointGFp_Var_Point_Precompute(base));
29  }
#define BOTAN_UNUSED(...)
Definition: assert.h:117

◆ ~Blinded_Point_Multiply()

Botan::Blinded_Point_Multiply::~Blinded_Point_Multiply ( )

Definition at line 31 of file point_mul.cpp.

32  {
33  /* for ~unique_ptr */
34  }

Member Function Documentation

◆ blinded_multiply()

PointGFp Botan::Blinded_Point_Multiply::blinded_multiply ( const BigInt scalar,
RandomNumberGenerator rng 
)

Definition at line 36 of file point_mul.cpp.

38  {
39  return m_point_mul->mul(scalar, rng, m_order, m_ws);
40  }

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