Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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()

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()

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()

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()

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()

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: