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

#include <precompute.hpp>

Public Member Functions

bool is_valid () const
 

Public Attributes

Scalar k1
 
Scalar k2
 
bool neg1
 
bool neg2
 
std::vector< int32_t > wnaf1
 
std::vector< int32_t > wnaf2
 
unsigned window_bits
 

Detailed Description

Definition at line 175 of file precompute.hpp.

Member Function Documentation

◆ is_valid()

bool secp256k1::fast::PrecomputedScalar::is_valid ( ) const
inline

Definition at line 189 of file precompute.hpp.

References window_bits.

Member Data Documentation

◆ k1

Scalar secp256k1::fast::PrecomputedScalar::k1

Definition at line 177 of file precompute.hpp.

◆ k2

Scalar secp256k1::fast::PrecomputedScalar::k2

Definition at line 178 of file precompute.hpp.

◆ neg1

bool secp256k1::fast::PrecomputedScalar::neg1

Definition at line 179 of file precompute.hpp.

◆ neg2

bool secp256k1::fast::PrecomputedScalar::neg2

Definition at line 180 of file precompute.hpp.

◆ window_bits

unsigned secp256k1::fast::PrecomputedScalar::window_bits

Definition at line 186 of file precompute.hpp.

Referenced by is_valid().

◆ wnaf1

std::vector<int32_t> secp256k1::fast::PrecomputedScalar::wnaf1

Definition at line 183 of file precompute.hpp.

◆ wnaf2

std::vector<int32_t> secp256k1::fast::PrecomputedScalar::wnaf2

Definition at line 184 of file precompute.hpp.


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