Hold an ECCVerifyHandle in zcash-gtest

This commit is contained in:
Jack Grigg 2017-06-18 02:15:05 +12:00
parent fd0d1c7d60
commit b661736b87
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
1 changed files with 8 additions and 0 deletions

View File

@ -1,9 +1,17 @@
#include "gtest/gtest.h"
#include "crypto/common.h"
#include "pubkey.h"
#include "libsnark/common/default_types/r1cs_ppzksnark_pp.hpp"
#include "libsnark/zk_proof_systems/ppzksnark/r1cs_ppzksnark/r1cs_ppzksnark.hpp"
struct ECCryptoClosure
{
ECCVerifyHandle handle;
};
ECCryptoClosure instance_of_eccryptoclosure;
int main(int argc, char **argv) {
assert(init_and_check_sodium() != -1);
libsnark::default_r1cs_ppzksnark_pp::init_public_params();