Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Namespaces | Functions
group_element_utils.hpp File Reference
#include "include_libff.hpp"
#include "libzeth/core/group_element_utils.tcc"
Include dependency graph for group_element_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 libzeth
 

Functions

template<typename GroupT >
void libzeth::group_element_write_json (const GroupT &point, std::ostream &out_s)
 Write a group element as a json string to a stream. More...
 
template<typename GroupT >
void libzeth::group_element_read_json (GroupT &point, std::istream &in_s)
 Read a JSON string from a stream and convert it into a group element. More...
 
template<typename GroupT >
std::string libzeth::group_element_to_json (const GroupT &point)
 Convert a group element to a json string (array of hexadecimal strings). More...
 
template<typename GroupT >
GroupT libzeth::group_element_from_json (const std::string &json)
 Convert a JSON string into a group element. More...
 
template<typename GroupT >
void libzeth::group_element_write_bytes (const GroupT &point, std::ostream &out_s)
 
template<typename GroupT >
void libzeth::group_element_read_bytes (GroupT &point, std::istream &in_s)
 
template<typename GroupCollectionT >
void libzeth::group_elements_write_bytes (const GroupCollectionT &points, std::ostream &out_s)
 
template<typename GroupCollectionT >
void libzeth::group_elements_read_bytes (GroupCollectionT &points, std::istream &in_s)