UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
secp256k1::fast::CombGenContext Class Reference

#include <ecmult_gen_comb.hpp>

Public Member Functions

 CombGenContext ()=default
 
 ~CombGenContext ()=default
 
 CombGenContext (const CombGenContext &)=delete
 
CombGenContextoperator= (const CombGenContext &)=delete
 
 CombGenContext (CombGenContext &&)=default
 
CombGenContextoperator= (CombGenContext &&)=default
 
void init (unsigned teeth=15)
 
bool ready () const noexcept
 
Point mul (const Scalar &k) const
 
Point mul_ct (const Scalar &k) const
 
unsigned teeth () const noexcept
 
unsigned spacing () const noexcept
 
std::size_t table_size_bytes () const noexcept
 
bool save_cache (const std::string &path) const
 
bool load_cache (const std::string &path)
 

Detailed Description

Definition at line 62 of file ecmult_gen_comb.hpp.

Constructor & Destructor Documentation

◆ CombGenContext() [1/3]

secp256k1::fast::CombGenContext::CombGenContext ( )
default

◆ ~CombGenContext()

secp256k1::fast::CombGenContext::~CombGenContext ( )
default

◆ CombGenContext() [2/3]

secp256k1::fast::CombGenContext::CombGenContext ( const CombGenContext )
delete

◆ CombGenContext() [3/3]

secp256k1::fast::CombGenContext::CombGenContext ( CombGenContext &&  )
default

Member Function Documentation

◆ init()

void secp256k1::fast::CombGenContext::init ( unsigned  teeth = 15)

◆ load_cache()

bool secp256k1::fast::CombGenContext::load_cache ( const std::string &  path)

◆ mul()

Point secp256k1::fast::CombGenContext::mul ( const Scalar k) const

◆ mul_ct()

Point secp256k1::fast::CombGenContext::mul_ct ( const Scalar k) const

◆ operator=() [1/2]

CombGenContext & secp256k1::fast::CombGenContext::operator= ( CombGenContext &&  )
default

◆ operator=() [2/2]

CombGenContext & secp256k1::fast::CombGenContext::operator= ( const CombGenContext )
delete

◆ ready()

bool secp256k1::fast::CombGenContext::ready ( ) const
inlinenoexcept

Definition at line 80 of file ecmult_gen_comb.hpp.

◆ save_cache()

bool secp256k1::fast::CombGenContext::save_cache ( const std::string &  path) const

◆ spacing()

unsigned secp256k1::fast::CombGenContext::spacing ( ) const
inlinenoexcept

Definition at line 91 of file ecmult_gen_comb.hpp.

◆ table_size_bytes()

std::size_t secp256k1::fast::CombGenContext::table_size_bytes ( ) const
noexcept

◆ teeth()

unsigned secp256k1::fast::CombGenContext::teeth ( ) const
inlinenoexcept

Definition at line 90 of file ecmult_gen_comb.hpp.


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