PIVX Core  5.6.99
P2P Digital Currency
Namespaces | Functions | Variables
zip32.cpp File Reference
#include "sapling/zip32.h"
#include "hash.h"
#include "random.h"
#include "sapling/prf.h"
#include "streams.h"
#include "version.h"
#include <librustzcash.h>
#include <sodium.h>
Include dependency graph for zip32.cpp:

Go to the source code of this file.

Namespaces

 libzcash
 

Functions

uint256 ovkForShieldingFromTaddr (HDSeed &seed)
 
bool IsValidSpendingKey (const libzcash::SpendingKey &zkey)
 Check whether a SpendingKey is not an InvalidEncoding. More...
 
bool IsValidViewingKey (const libzcash::ViewingKey &vk)
 Check whether a ViewingKey is not an InvalidEncoding. More...
 

Variables

const unsigned char PIVX_HD_SEED_FP_PERSONAL [crypto_generichash_blake2b_PERSONALBYTES]
 
const unsigned char PIVX_TADDR_OVK_PERSONAL [crypto_generichash_blake2b_PERSONALBYTES]
 

Function Documentation

◆ IsValidSpendingKey()

bool IsValidSpendingKey ( const libzcash::SpendingKey zkey)

Check whether a SpendingKey is not an InvalidEncoding.

Definition at line 169 of file zip32.cpp.

Here is the caller graph for this function:

◆ IsValidViewingKey()

bool IsValidViewingKey ( const libzcash::ViewingKey vk)

Check whether a ViewingKey is not an InvalidEncoding.

Definition at line 173 of file zip32.cpp.

Here is the caller graph for this function:

◆ ovkForShieldingFromTaddr()

uint256 ovkForShieldingFromTaddr ( HDSeed seed)

Definition at line 38 of file zip32.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ PIVX_HD_SEED_FP_PERSONAL

const unsigned char PIVX_HD_SEED_FP_PERSONAL[crypto_generichash_blake2b_PERSONALBYTES]
Initial value:
=
{'P', 'I', 'V', 'X', '_', '_', 'H', 'D', '_', 'S', 'e', 'e', 'd', '_', 'F', 'P'}

Definition at line 17 of file zip32.cpp.

◆ PIVX_TADDR_OVK_PERSONAL

const unsigned char PIVX_TADDR_OVK_PERSONAL[crypto_generichash_blake2b_PERSONALBYTES]
Initial value:
=
{'P', 'x', 'T', 'a', 'd', 'd', 'r', 'T', 'o', 'S', 'a', 'p', 'l', 'i', 'n', 'g'}

Definition at line 20 of file zip32.cpp.