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

Static Public Member Functions

static void TestPassphraseSingle (const std::span< const unsigned char > salt, const SecureString &passphrase, uint32_t rounds, const std::span< const unsigned char > correct_key={}, const std::span< const unsigned char > correct_iv={})
 
static void TestPassphrase (const std::span< const unsigned char > salt, const SecureString &passphrase, uint32_t rounds, const std::span< const unsigned char > correct_key={}, const std::span< const unsigned char > correct_iv={})
 
static void TestDecrypt (const CCrypter &crypt, const std::span< const unsigned char > ciphertext, const std::span< const unsigned char > correct_plaintext={})
 
static void TestEncryptSingle (const CCrypter &crypt, const CKeyingMaterial &plaintext, const std::span< const unsigned char > correct_ciphertext={})
 
static void TestEncrypt (const CCrypter &crypt, const std::span< const unsigned char > plaintext, const std::span< const unsigned char > correct_ciphertext={})
 

Detailed Description

Definition at line 19 of file wallet_crypto_tests.cpp.

Member Function Documentation

◆ TestDecrypt()

static void wallet::TestCrypter::TestDecrypt ( const CCrypter crypt,
const std::span< const unsigned char >  ciphertext,
const std::span< const unsigned char >  correct_plaintext = {} 
)
inlinestatic

Definition at line 49 of file wallet_crypto_tests.cpp.

Here is the caller graph for this function:

◆ TestEncrypt()

static void wallet::TestCrypter::TestEncrypt ( const CCrypter crypt,
const std::span< const unsigned char >  plaintext,
const std::span< const unsigned char >  correct_ciphertext = {} 
)
inlinestatic

Definition at line 72 of file wallet_crypto_tests.cpp.

Here is the caller graph for this function:

◆ TestEncryptSingle()

static void wallet::TestCrypter::TestEncryptSingle ( const CCrypter crypt,
const CKeyingMaterial plaintext,
const std::span< const unsigned char >  correct_ciphertext = {} 
)
inlinestatic

Definition at line 59 of file wallet_crypto_tests.cpp.

◆ TestPassphrase()

static void wallet::TestCrypter::TestPassphrase ( const std::span< const unsigned char >  salt,
const SecureString passphrase,
uint32_t  rounds,
const std::span< const unsigned char >  correct_key = {},
const std::span< const unsigned char >  correct_iv = {} 
)
inlinestatic

Definition at line 39 of file wallet_crypto_tests.cpp.

Here is the caller graph for this function:

◆ TestPassphraseSingle()

static void wallet::TestCrypter::TestPassphraseSingle ( const std::span< const unsigned char >  salt,
const SecureString passphrase,
uint32_t  rounds,
const std::span< const unsigned char >  correct_key = {},
const std::span< const unsigned char >  correct_iv = {} 
)
inlinestatic

Definition at line 22 of file wallet_crypto_tests.cpp.


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