Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::simulation::MockEcc Class Reference

#include <mock_ecc.hpp>

Inheritance diagram for bb::avm2::simulation::MockEcc:
bb::avm2::simulation::EccInterface

Public Member Functions

 MockEcc ()
 
 ~MockEcc () override
 
 MOCK_METHOD (EmbeddedCurvePoint, add,(const EmbeddedCurvePoint &p, const EmbeddedCurvePoint &q),(override))
 
 MOCK_METHOD (EmbeddedCurvePoint, scalar_mul,(const EmbeddedCurvePoint &p, const FF &scalar),(override))
 
 MOCK_METHOD (void, add,(MemoryInterface &memory, const EmbeddedCurvePoint &p, const EmbeddedCurvePoint &q, MemoryAddress dst_address),(override))
 
- Public Member Functions inherited from bb::avm2::simulation::EccInterface
virtual ~EccInterface ()=default
 
virtual EmbeddedCurvePoint add (const EmbeddedCurvePoint &p, const EmbeddedCurvePoint &q)=0
 
virtual EmbeddedCurvePoint scalar_mul (const EmbeddedCurvePoint &point, const FF &scalar)=0
 
virtual void add (MemoryInterface &memory, const EmbeddedCurvePoint &p, const EmbeddedCurvePoint &q, MemoryAddress dst_address)=0
 

Detailed Description

Definition at line 10 of file mock_ecc.hpp.

Constructor & Destructor Documentation

◆ MockEcc()

bb::avm2::simulation::MockEcc::MockEcc ( )
default

◆ ~MockEcc()

bb::avm2::simulation::MockEcc::~MockEcc ( )
overridedefault

Member Function Documentation

◆ MOCK_METHOD() [1/3]

bb::avm2::simulation::MockEcc::MOCK_METHOD ( EmbeddedCurvePoint  ,
add  ,
(const EmbeddedCurvePoint &p, const EmbeddedCurvePoint &q)  ,
(override)   
)

◆ MOCK_METHOD() [2/3]

bb::avm2::simulation::MockEcc::MOCK_METHOD ( EmbeddedCurvePoint  ,
scalar_mul  ,
(const EmbeddedCurvePoint &p, const FF &scalar)  ,
(override)   
)

◆ MOCK_METHOD() [3/3]

bb::avm2::simulation::MockEcc::MOCK_METHOD ( void  ,
add  ,
(MemoryInterface &memory, const EmbeddedCurvePoint &p, const EmbeddedCurvePoint &q, MemoryAddress dst_address)  ,
(override)   
)

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