Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Public Types | Static Public Member Functions | List of all members
libzeth::pghr13_api_handler< ppT > Class Template Reference

Implementation of API-related functions for the PGHR13 snark. More...

#include <pghr13_api_handler.hpp>

Public Types

using snark = pghr13_snark< ppT >
 

Static Public Member Functions

static void verification_key_to_proto (const typename snark::verification_key &vk, zeth_proto::VerificationKey *message)
 
static snark::verification_key verification_key_from_proto (const zeth_proto::VerificationKey &verification_key)
 
static void extended_proof_to_proto (const extended_proof< ppT, snark > &ext_proof, zeth_proto::ExtendedProof *message)
 
static libzeth::extended_proof< ppT, snarkextended_proof_from_proto (const zeth_proto::ExtendedProof &ext_proof)
 

Detailed Description

template<typename ppT>
class libzeth::pghr13_api_handler< ppT >

Implementation of API-related functions for the PGHR13 snark.

Definition at line 17 of file pghr13_api_handler.hpp.

Member Typedef Documentation

◆ snark

template<typename ppT >
using libzeth::pghr13_api_handler< ppT >::snark = pghr13_snark<ppT>

Definition at line 20 of file pghr13_api_handler.hpp.

Member Function Documentation

◆ extended_proof_from_proto()

template<typename ppT >
static libzeth::extended_proof<ppT, snark> libzeth::pghr13_api_handler< ppT >::extended_proof_from_proto ( const zeth_proto::ExtendedProof &  ext_proof)
static

◆ extended_proof_to_proto()

template<typename ppT >
static void libzeth::pghr13_api_handler< ppT >::extended_proof_to_proto ( const extended_proof< ppT, snark > &  ext_proof,
zeth_proto::ExtendedProof *  message 
)
static

◆ verification_key_from_proto()

template<typename ppT >
static snark::verification_key libzeth::pghr13_api_handler< ppT >::verification_key_from_proto ( const zeth_proto::VerificationKey &  verification_key)
static

◆ verification_key_to_proto()

template<typename ppT >
static void libzeth::pghr13_api_handler< ppT >::verification_key_to_proto ( const typename snark::verification_key vk,
zeth_proto::VerificationKey *  message 
)
static

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