UltrafastSecp256k1 3.68.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 185 of file precompute.hpp.

Member Function Documentation

◆ is_valid()

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

Definition at line 199 of file precompute.hpp.

References window_bits.

Member Data Documentation

◆ k1

Scalar secp256k1::fast::PrecomputedScalar::k1

Definition at line 187 of file precompute.hpp.

◆ k2

Scalar secp256k1::fast::PrecomputedScalar::k2

Definition at line 188 of file precompute.hpp.

◆ neg1

bool secp256k1::fast::PrecomputedScalar::neg1

Definition at line 189 of file precompute.hpp.

◆ neg2

bool secp256k1::fast::PrecomputedScalar::neg2

Definition at line 190 of file precompute.hpp.

◆ window_bits

unsigned secp256k1::fast::PrecomputedScalar::window_bits

Definition at line 196 of file precompute.hpp.

Referenced by is_valid().

◆ wnaf1

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

Definition at line 193 of file precompute.hpp.

◆ wnaf2

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

Definition at line 194 of file precompute.hpp.


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