nil::crypto3::zk::snark::uscs_ppzksnark_prover< CurveType > Class Template Reference
#include <prover.hpp>

Public Types | |
typedef policy_type::auxiliary_input_type | auxiliary_input_type |
typedef policy_type::primary_input_type | primary_input_type |
typedef policy_type::proof_type | proof_type |
typedef policy_type::proving_key_type | proving_key_type |
Static Public Member Functions | |
static proof_type | process (const proving_key_type &proving_key, const primary_input_type &primary_input, const auxiliary_input_type &auxiliary_input) |
Detailed Description
template<typename CurveType>
class nil::crypto3::zk::snark::uscs_ppzksnark_prover< CurveType >
A prover algorithm for the USCS ppzkSNARK.
Given a USCS primary input X and a USCS auxiliary input Y, this algorithm produces a proof (of knowledge) that attests to the following statement: `‘there exists Y such that CS(X,Y)=0’'. Above, CS is the USCS constraint system that was given as input to the generator algorithm.
Member Typedef Documentation
◆ auxiliary_input_type
template<typename CurveType >
typedef policy_type::auxiliary_input_type nil::crypto3::zk::snark::uscs_ppzksnark_prover< CurveType >::auxiliary_input_type |
◆ primary_input_type
template<typename CurveType >
typedef policy_type::primary_input_type nil::crypto3::zk::snark::uscs_ppzksnark_prover< CurveType >::primary_input_type |
◆ proof_type
template<typename CurveType >
typedef policy_type::proof_type nil::crypto3::zk::snark::uscs_ppzksnark_prover< CurveType >::proof_type |
◆ proving_key_type
template<typename CurveType >
typedef policy_type::proving_key_type nil::crypto3::zk::snark::uscs_ppzksnark_prover< CurveType >::proving_key_type |
Member Function Documentation
◆ process()
template<typename CurveType >
|
inlinestatic |
The documentation for this class was generated from the following file: