Add Sapling key classes to wallet, with new librustzcash APIs

This commit is contained in:
Jay Graber
2018-05-17 06:13:29 -07:00
parent 73fea25404
commit 11acfe6e9f
4 changed files with 231 additions and 0 deletions

View File

@@ -9,6 +9,14 @@ within the zkSNARK circuit.
#include "uint256.h"
#include "uint252.h"
#include <array>
uint256 PRF_ask(const uint256& sk);
uint256 PRF_nsk(const uint256& sk);
uint256 PRF_ovk(const uint256& sk);
std::array<unsigned char, 11> default_diversifier(const uint256& sk);
uint256 PRF_addr_a_pk(const uint252& a_sk);
uint256 PRF_addr_sk_enc(const uint252& a_sk);
uint256 PRF_nf(const uint252& a_sk, const uint256& rho);