Botan  2.8.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 420 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 22 of file point_mul.cpp.

24  :
26  m_order(order)
27  {
28  BOTAN_UNUSED(h);
29  Null_RNG null_rng;
30  m_point_mul.reset(new PointGFp_Var_Point_Precompute(base, null_rng, m_ws));
31  }
#define BOTAN_UNUSED(...)
Definition: assert.h:142

◆ ~Blinded_Point_Multiply()

Botan::Blinded_Point_Multiply::~Blinded_Point_Multiply ( )

Definition at line 33 of file point_mul.cpp.

34  {
35  /* for ~unique_ptr */
36  }

Member Function Documentation

◆ blinded_multiply()

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

Definition at line 38 of file point_mul.cpp.

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

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