Bitcoin Core  0.18.99
P2P Digital Currency
Static Public Member Functions | List of all members
TestCrypter Class Reference

Static Public Member Functions

static void TestPassphraseSingle (const std::vector< unsigned char > &vchSalt, const SecureString &passphrase, uint32_t rounds, const std::vector< unsigned char > &correctKey=std::vector< unsigned char >(), const std::vector< unsigned char > &correctIV=std::vector< unsigned char >())
 
static void TestPassphrase (const std::vector< unsigned char > &vchSalt, const SecureString &passphrase, uint32_t rounds, const std::vector< unsigned char > &correctKey=std::vector< unsigned char >(), const std::vector< unsigned char > &correctIV=std::vector< unsigned char >())
 
static void TestDecrypt (const CCrypter &crypt, const std::vector< unsigned char > &vchCiphertext, const std::vector< unsigned char > &vchPlaintext=std::vector< unsigned char >())
 
static void TestEncryptSingle (const CCrypter &crypt, const CKeyingMaterial &vchPlaintext, const std::vector< unsigned char > &vchCiphertextCorrect=std::vector< unsigned char >())
 
static void TestEncrypt (const CCrypter &crypt, const std::vector< unsigned char > &vchPlaintextIn, const std::vector< unsigned char > &vchCiphertextCorrect=std::vector< unsigned char >())
 

Detailed Description

Definition at line 15 of file wallet_crypto_tests.cpp.

Member Function Documentation

◆ TestDecrypt()

static void TestCrypter::TestDecrypt ( const CCrypter crypt,
const std::vector< unsigned char > &  vchCiphertext,
const std::vector< unsigned char > &  vchPlaintext = std::vector<unsigned char>() 
)
inlinestatic

Definition at line 42 of file wallet_crypto_tests.cpp.

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

◆ TestEncrypt()

static void TestCrypter::TestEncrypt ( const CCrypter crypt,
const std::vector< unsigned char > &  vchPlaintextIn,
const std::vector< unsigned char > &  vchCiphertextCorrect = std::vector<unsigned char>() 
)
inlinestatic

Definition at line 64 of file wallet_crypto_tests.cpp.

Here is the caller graph for this function:

◆ TestEncryptSingle()

static void TestCrypter::TestEncryptSingle ( const CCrypter crypt,
const CKeyingMaterial vchPlaintext,
const std::vector< unsigned char > &  vchCiphertextCorrect = std::vector<unsigned char>() 
)
inlinestatic

Definition at line 51 of file wallet_crypto_tests.cpp.

Here is the call graph for this function:

◆ TestPassphrase()

static void TestCrypter::TestPassphrase ( const std::vector< unsigned char > &  vchSalt,
const SecureString passphrase,
uint32_t  rounds,
const std::vector< unsigned char > &  correctKey = std::vector<unsigned char>(),
const std::vector< unsigned char > &  correctIV = std::vector<unsigned char>() 
)
inlinestatic

Definition at line 33 of file wallet_crypto_tests.cpp.

Here is the caller graph for this function:

◆ TestPassphraseSingle()

static void TestCrypter::TestPassphraseSingle ( const std::vector< unsigned char > &  vchSalt,
const SecureString passphrase,
uint32_t  rounds,
const std::vector< unsigned char > &  correctKey = std::vector<unsigned char>(),
const std::vector< unsigned char > &  correctIV = std::vector<unsigned char>() 
)
inlinestatic

Definition at line 18 of file wallet_crypto_tests.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following file: