![]() |
Bitcoin Core 31.99.0
P2P Digital Currency
|
#include <crypto/aes.h>#include <crypto/chacha20.h>#include <crypto/chacha20poly1305.h>#include <crypto/hkdf_sha256_32.h>#include <crypto/hmac_sha256.h>#include <crypto/hmac_sha512.h>#include <crypto/poly1305.h>#include <crypto/ripemd160.h>#include <crypto/sha1.h>#include <crypto/sha256.h>#include <crypto/sha3.h>#include <crypto/sha512.h>#include <crypto/muhash.h>#include <random.h>#include <streams.h>#include <test/util/common.h>#include <test/util/random.h>#include <test/util/setup_common.h>#include <util/strencodings.h>#include <algorithm>#include <vector>#include <boost/test/unit_test.hpp>Go to the source code of this file.
Classes | |
| struct | crypto_tests::CryptoTest |
Namespaces | |
| namespace | crypto_tests |
Functions | |
| static std::string | LongTestString () |
| BOOST_AUTO_TEST_CASE (ripemd160_testvectors) | |
| BOOST_AUTO_TEST_CASE (sha1_testvectors) | |
| BOOST_AUTO_TEST_CASE (sha256_testvectors) | |
| BOOST_AUTO_TEST_CASE (sha512_testvectors) | |
| BOOST_AUTO_TEST_CASE (hmac_sha256_testvectors) | |
| BOOST_AUTO_TEST_CASE (hmac_sha512_testvectors) | |
| BOOST_AUTO_TEST_CASE (aes_testvectors) | |
| BOOST_AUTO_TEST_CASE (aes_cbc_testvectors) | |
| BOOST_AUTO_TEST_CASE (chacha20_testvector) | |
| BOOST_AUTO_TEST_CASE (chacha20_midblock) | |
| BOOST_AUTO_TEST_CASE (poly1305_testvector) | |
| BOOST_AUTO_TEST_CASE (chacha20poly1305_testvectors) | |
| BOOST_AUTO_TEST_CASE (hkdf_hmac_sha256_l32_tests) | |
| BOOST_AUTO_TEST_CASE (sha256d64) | |
| BOOST_AUTO_TEST_CASE (keccak_tests) | |
| BOOST_AUTO_TEST_CASE (sha3_256_tests) | |
| static MuHash3072 | FromInt (unsigned char i) |
| BOOST_AUTO_TEST_CASE (muhash_tests) | |
Variables | |
| const std::string | test1 = LongTestString() |
| BOOST_AUTO_TEST_CASE | ( | aes_cbc_testvectors | ) |
Definition at line 602 of file crypto_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | aes_testvectors | ) |
Definition at line 591 of file crypto_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | chacha20_midblock | ) |
| BOOST_AUTO_TEST_CASE | ( | chacha20_testvector | ) |
Definition at line 633 of file crypto_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | chacha20poly1305_testvectors | ) |
Definition at line 973 of file crypto_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | hkdf_hmac_sha256_l32_tests | ) |
Definition at line 1054 of file crypto_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | hmac_sha256_testvectors | ) |
Definition at line 470 of file crypto_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | hmac_sha512_testvectors | ) |
Definition at line 523 of file crypto_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | keccak_tests | ) |
| BOOST_AUTO_TEST_CASE | ( | muhash_tests | ) |
| BOOST_AUTO_TEST_CASE | ( | poly1305_testvector | ) |
| BOOST_AUTO_TEST_CASE | ( | ripemd160_testvectors | ) |
Definition at line 379 of file crypto_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | sha1_testvectors | ) |
Definition at line 395 of file crypto_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | sha256_testvectors | ) |
Definition at line 411 of file crypto_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | sha256d64 | ) |
| BOOST_AUTO_TEST_CASE | ( | sha3_256_tests | ) |
Definition at line 1132 of file crypto_tests.cpp.
| BOOST_AUTO_TEST_CASE | ( | sha512_testvectors | ) |
Definition at line 433 of file crypto_tests.cpp.
|
static |
|
static |
Definition at line 362 of file crypto_tests.cpp.
| const std::string test1 = LongTestString() |
Definition at line 375 of file crypto_tests.cpp.