Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
#include "libzeth/circuits/blake2s/blake2s.hpp"
#include "libzeth/circuits/circuit_wrapper.hpp"
#include "libzeth/circuits/mimc/mimc_selector.hpp"
#include "libzeth/core/include_libsnark.hpp"
#include <libff/algebra/curves/alt_bn128/alt_bn128_pp.hpp>
#include <libff/algebra/curves/bls12_377/bls12_377_pp.hpp>
Go to the source code of this file.
Namespaces | |
libzeth | |
Typedefs | |
template<typename FieldT > | |
using | libzeth::HashT = BLAKE2s_256< FieldT > |
template<typename FieldT > | |
using | libzeth::HashTreeT = mimc_compression_function_gadget< FieldT > |
template<typename ppT , typename snarkT > | |
using | libzeth::JoinsplitCircuitT = circuit_wrapper< HashT< libff::Fr< ppT > >, HashTreeT< libff::Fr< ppT > >, ppT, snarkT, libzeth::ZETH_NUM_JS_INPUTS, libzeth::ZETH_NUM_JS_OUTPUTS, libzeth::ZETH_MERKLE_TREE_DEPTH > |