Add check_diversifier and ivk_to_pkd

This commit is contained in:
Jay Graber
2018-05-14 22:34:27 -07:00
committed by str4d
parent 23c2f0e527
commit be1b307446
2 changed files with 42 additions and 2 deletions

View File

@@ -14,6 +14,10 @@ extern "C" {
void librustzcash_crh_ivk(const unsigned char *ak, const unsigned char *nk, unsigned char *result);
bool librustzcash_check_diversifier(const unsigned char *diversifier);
bool librustzcash_ivk_to_pkd(const unsigned char *ivk, const unsigned char *diversifier, unsigned char *result);
/// Loads the zk-SNARK parameters into memory and saves
/// paths as necessary. Only called once.
void librustzcash_init_zksnark_params(