Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Namespaces | Typedefs | Functions
mpc_hash.cpp File Reference
#include "libzeth/mpc/groth16/mpc_hash.hpp"
#include "libzeth/core/utils.hpp"
Include dependency graph for mpc_hash.cpp:

Go to the source code of this file.

Namespaces

 libzeth
 

Typedefs

using libzeth::hash_repr_word = uint32_t
 

Functions

void libzeth::mpc_hash_init (mpc_hash_state_t &state)
 
void libzeth::mpc_hash_update (mpc_hash_state_t &state, const void *in, size_t size)
 
void libzeth::mpc_hash_final (mpc_hash_state_t &state, mpc_hash_t out_hash)
 
void libzeth::mpc_compute_hash (mpc_hash_t out_hash, const void *data, size_t data_size)
 
void libzeth::mpc_compute_hash (mpc_hash_t out_hash, const std::string &data)
 
void libzeth::mpc_hash_write (const mpc_hash_t hash, std::ostream &out)
 
bool libzeth::mpc_hash_read (mpc_hash_t out_hash, std::istream &in)