]> Git Repo - VerusCoin.git/blame - src/zcash/prf.h
zkSNARK: Add "zero" constant variable.
[VerusCoin.git] / src / zcash / prf.h
CommitLineData
6c36a9fe
SB
1/*
2Zcash uses SHA256Compress as a PRF for various components
3within the zkSNARK circuit.
4*/
5
6#ifndef _PRF_H_
7#define _PRF_H_
8
9#include "uint256.h"
10
11uint256 PRF_addr_a_pk(const uint256& a_sk);
12uint256 PRF_addr_sk_enc(const uint256& a_sk);
13uint256 PRF_nf(const uint256& a_sk, const uint256& rho);
14uint256 PRF_pk(const uint256& a_sk, size_t i0, const uint256& h_sig);
15uint256 PRF_rho(const uint256& phi, size_t i0, const uint256& h_sig);
16
17#endif // _PRF_H_
This page took 0.02217 seconds and 4 git commands to generate.