Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
EcdsaConstraintsTest< Curve > Class Template Reference
Inheritance diagram for EcdsaConstraintsTest< Curve >:

Public Types

using Builder = Curve::Builder
 
using FrNative = Curve::fr
 
using FqNative = Curve::fq
 
using G1Native = Curve::g1
 
using Flavor = std::conditional_t< std::is_same_v< Builder, UltraCircuitBuilder >, UltraFlavor, MegaFlavor >
 

Static Public Member Functions

static size_t generate_ecdsa_constraint (EcdsaConstraint &ecdsa_constraint, WitnessVector &witness_values)
 
static std::pair< AcirFormat, WitnessVectorgenerate_constraint_system ()
 

Static Public Attributes

static constexpr FrNative private_key
 

Static Protected Member Functions

static void SetUpTestSuite ()
 

Detailed Description

template<class Curve>
class EcdsaConstraintsTest< Curve >

Definition at line 17 of file ecdsa_constraints.test.cpp.

Member Typedef Documentation

◆ Builder

template<class Curve >
using EcdsaConstraintsTest< Curve >::Builder = Curve::Builder

Definition at line 19 of file ecdsa_constraints.test.cpp.

◆ Flavor

◆ FqNative

template<class Curve >
using EcdsaConstraintsTest< Curve >::FqNative = Curve::fq

Definition at line 21 of file ecdsa_constraints.test.cpp.

◆ FrNative

template<class Curve >
using EcdsaConstraintsTest< Curve >::FrNative = Curve::fr

Definition at line 20 of file ecdsa_constraints.test.cpp.

◆ G1Native

template<class Curve >
using EcdsaConstraintsTest< Curve >::G1Native = Curve::g1

Definition at line 22 of file ecdsa_constraints.test.cpp.

Member Function Documentation

◆ generate_constraint_system()

template<class Curve >
static std::pair< AcirFormat, WitnessVector > EcdsaConstraintsTest< Curve >::generate_constraint_system ( )
inlinestatic

Definition at line 94 of file ecdsa_constraints.test.cpp.

◆ generate_ecdsa_constraint()

template<class Curve >
static size_t EcdsaConstraintsTest< Curve >::generate_ecdsa_constraint ( EcdsaConstraint ecdsa_constraint,
WitnessVector witness_values 
)
inlinestatic

Definition at line 29 of file ecdsa_constraints.test.cpp.

◆ SetUpTestSuite()

template<class Curve >
static void EcdsaConstraintsTest< Curve >::SetUpTestSuite ( )
inlinestaticprotected

Definition at line 118 of file ecdsa_constraints.test.cpp.

Member Data Documentation

◆ private_key

template<class Curve >
constexpr FrNative EcdsaConstraintsTest< Curve >::private_key
staticconstexpr
Initial value:
=
FrNative("0xd67abee717b3fc725adf59e2cc8cd916435c348b277dd814a34e3ceb279436c2")

Definition at line 26 of file ecdsa_constraints.test.cpp.


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