Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Public Types | Public Member Functions | List of all members
libzeth::mpc_hash Class Reference

#include <mpc_hash.hpp>

Public Types

using OutBuffer = mpc_hash_t
 

Public Member Functions

 mpc_hash ()
 
void update (const void *, size_t)
 
void final (OutBuffer out_buffer)
 

Detailed Description

Simple class wrapper around the above hash, following the HashT interface in hash_stream.hpp.

Definition at line 40 of file mpc_hash.hpp.

Member Typedef Documentation

◆ OutBuffer

Definition at line 46 of file mpc_hash.hpp.

Constructor & Destructor Documentation

◆ mpc_hash()

libzeth::mpc_hash::mpc_hash ( )

Definition at line 86 of file mpc_hash.cpp.

86 { mpc_hash_init(state); }
Here is the call graph for this function:

Member Function Documentation

◆ final()

void libzeth::mpc_hash::final ( OutBuffer  out_buffer)

Definition at line 93 of file mpc_hash.cpp.

94 {
95  mpc_hash_final(state, out_buffer);
96 }
Here is the call graph for this function:

◆ update()

void libzeth::mpc_hash::update ( const void *  data,
size_t  size 
)

Definition at line 88 of file mpc_hash.cpp.

89 {
90  mpc_hash_update(state, data, size);
91 }
Here is the call graph for this function:

The documentation for this class was generated from the following files:
libzeth::mpc_hash_final
void mpc_hash_final(mpc_hash_state_t &state, mpc_hash_t out_hash)
Definition: mpc_hash.cpp:34
libzeth::mpc_hash_update
void mpc_hash_update(mpc_hash_state_t &state, const void *in, size_t size)
Definition: mpc_hash.cpp:29
analyzer.parse_r1cs.data
data
Definition: parse_r1cs.py:116
libzeth::mpc_hash_init
void mpc_hash_init(mpc_hash_state_t &state)
Definition: mpc_hash.cpp:24