Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::srs Namespace Reference

Namespaces

namespace  factories
 

Functions

std::filesystem::path bb_crs_path ()
 
void init_bn254_mem_crs_factory (std::vector< g1::affine_element > const &points, g2::affine_element const &g2_point)
 
void init_grumpkin_mem_crs_factory (std::vector< curve::Grumpkin::AffineElement > const &points)
 
void init_bn254_net_crs_factory (const std::filesystem::path &path)
 
void init_bn254_file_crs_factory (const std::filesystem::path &path)
 
void init_grumpkin_net_crs_factory (const std::filesystem::path &path)
 
void init_grumpkin_file_crs_factory (const std::filesystem::path &path)
 
std::shared_ptr< factories::CrsFactory< curve::BN254 > > get_bn254_crs_factory ()
 
std::shared_ptr< factories::CrsFactory< curve::Grumpkin > > get_grumpkin_crs_factory ()
 
template<>
std::shared_ptr< factories::CrsFactory< curve::BN254 > > get_crs_factory ()
 
template<>
std::shared_ptr< factories::CrsFactory< curve::Grumpkin > > get_crs_factory ()
 
void init_file_crs_factory (const std::filesystem::path &path)
 
void init_net_crs_factory (const std::filesystem::path &path)
 
template<typename Curve >
std::shared_ptr< factories::CrsFactory< Curve > > get_crs_factory ()
 

Function Documentation

◆ bb_crs_path()

std::filesystem::path bb::srs::bb_crs_path ( )

Definition at line 14 of file global_crs.cpp.

◆ get_bn254_crs_factory()

std::shared_ptr< factories::CrsFactory< curve::BN254 > > bb::srs::get_bn254_crs_factory ( )

Definition at line 72 of file global_crs.cpp.

◆ get_crs_factory() [1/3]

template<>
std::shared_ptr< factories::CrsFactory< curve::BN254 > > bb::srs::get_crs_factory ( )

Definition at line 88 of file global_crs.cpp.

◆ get_crs_factory() [2/3]

template<>
std::shared_ptr< factories::CrsFactory< curve::Grumpkin > > bb::srs::get_crs_factory ( )

Definition at line 93 of file global_crs.cpp.

◆ get_crs_factory() [3/3]

template<typename Curve >
std::shared_ptr< factories::CrsFactory< Curve > > bb::srs::get_crs_factory ( )

◆ get_grumpkin_crs_factory()

std::shared_ptr< factories::CrsFactory< curve::Grumpkin > > bb::srs::get_grumpkin_crs_factory ( )

Definition at line 80 of file global_crs.cpp.

◆ init_bn254_file_crs_factory()

void bb::srs::init_bn254_file_crs_factory ( const std::filesystem::path &  path)

Definition at line 46 of file global_crs.cpp.

◆ init_bn254_mem_crs_factory()

void bb::srs::init_bn254_mem_crs_factory ( std::vector< g1::affine_element > const &  points,
g2::affine_element const &  g2_point 
)

Definition at line 26 of file global_crs.cpp.

◆ init_bn254_net_crs_factory()

void bb::srs::init_bn254_net_crs_factory ( const std::filesystem::path &  path)

Definition at line 37 of file global_crs.cpp.

◆ init_file_crs_factory()

void bb::srs::init_file_crs_factory ( const std::filesystem::path &  path)
inline

Definition at line 14 of file global_crs.hpp.

◆ init_grumpkin_file_crs_factory()

void bb::srs::init_grumpkin_file_crs_factory ( const std::filesystem::path &  path)

Definition at line 63 of file global_crs.cpp.

◆ init_grumpkin_mem_crs_factory()

void bb::srs::init_grumpkin_mem_crs_factory ( std::vector< curve::Grumpkin::AffineElement > const &  points)

Definition at line 31 of file global_crs.cpp.

◆ init_grumpkin_net_crs_factory()

void bb::srs::init_grumpkin_net_crs_factory ( const std::filesystem::path &  path)

Definition at line 55 of file global_crs.cpp.

◆ init_net_crs_factory()

void bb::srs::init_net_crs_factory ( const std::filesystem::path &  path)
inline

Definition at line 29 of file global_crs.hpp.