nil::crypto3::zk::snark::detail::r1cs_ppzkadsnark_basic_policy< CurveType >::keypair Struct Reference
#include <basic_policy.hpp>
Collaboration diagram for nil::crypto3::zk::snark::detail::r1cs_ppzkadsnark_basic_policy< CurveType >::keypair:
Public Member Functions | |
keypair ()=default | |
keypair (const keypair< CurveType > &other)=default | |
keypair (keypair< CurveType > &&other)=default | |
keypair (proving_key< CurveType > &&pk, verification_key< CurveType > &&vk) | |
Public Attributes | |
proving_key< CurveType > | pk |
verification_key< CurveType > | vk |
Detailed Description
template<typename CurveType>
struct nil::crypto3::zk::snark::detail::r1cs_ppzkadsnark_basic_policy< CurveType >::keypair
A key pair for the R1CS ppzkADSNARK, which consists of a proving key and a verification key.
Constructor & Destructor Documentation
◆ keypair() [1/4]
template<typename CurveType >
|
default |
◆ keypair() [2/4]
template<typename CurveType >
|
default |
◆ keypair() [3/4]
template<typename CurveType >
|
inline |
◆ keypair() [4/4]
template<typename CurveType >
|
default |
Member Data Documentation
◆ pk
template<typename CurveType >
proving_key<CurveType> nil::crypto3::zk::snark::detail::r1cs_ppzkadsnark_basic_policy< CurveType >::keypair::pk |
◆ vk
template<typename CurveType >
verification_key<CurveType> nil::crypto3::zk::snark::detail::r1cs_ppzkadsnark_basic_policy< CurveType >::keypair::vk |
The documentation for this struct was generated from the following file: