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

Static Public Member Functions

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

Detailed Description

Definition at line 17 of file wallet_crypto_tests.cpp.

Member Function Documentation

◆ TestDecrypt()

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

Definition at line 55 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< uint8_t > &  vchPlaintextIn,
const std::vector< uint8_t > &  vchCiphertextCorrect = std::vector<uint8_t>() 
)
inlinestatic

Definition at line 83 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< uint8_t > &  vchCiphertextCorrect = std::vector<uint8_t>() 
)
inlinestatic

Definition at line 67 of file wallet_crypto_tests.cpp.

Here is the call graph for this function:

◆ TestPassphrase()

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

Definition at line 41 of file wallet_crypto_tests.cpp.

Here is the caller graph for this function:

◆ TestPassphraseSingle()

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

Definition at line 19 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: