|
template<typename Hasher , typename In , typename Out > |
void | TestVector (const Hasher &h, const In &in, const Out &out) |
|
void | TestSHA1 (const std::string &in, const std::string &hexout) |
|
void | TestSHA256 (const std::string &in, const std::string &hexout) |
|
void | TestSHA512 (const std::string &in, const std::string &hexout) |
|
void | TestRIPEMD160 (const std::string &in, const std::string &hexout) |
|
void | TestHMACSHA256 (const std::string &hexkey, const std::string &hexin, const std::string &hexout) |
|
void | TestHMACSHA512 (const std::string &hexkey, const std::string &hexin, const std::string &hexout) |
|
void | TestAES256 (const std::string &hexkey, const std::string &hexin, const std::string &hexout) |
|
void | TestAES256CBC (const std::string &hexkey, const std::string &hexiv, bool pad, const std::string &hexin, const std::string &hexout) |
|
void | TestChaCha20 (const std::string &hex_message, const std::string &hexkey, ChaCha20::Nonce96 nonce, uint32_t seek, const std::string &hexout) |
|
void | TestFSChaCha20 (const std::string &hex_plaintext, const std::string &hexkey, uint32_t rekey_interval, const std::string &ciphertext_after_rotation) |
|
void | TestPoly1305 (const std::string &hexmessage, const std::string &hexkey, const std::string &hextag) |
|
void | TestChaCha20Poly1305 (const std::string &plain_hex, const std::string &aad_hex, const std::string &key_hex, ChaCha20::Nonce96 nonce, const std::string &cipher_hex) |
|
void | TestFSChaCha20Poly1305 (const std::string &plain_hex, const std::string &aad_hex, const std::string &key_hex, uint64_t msg_idx, const std::string &cipher_hex) |
|
void | TestHKDF_SHA256_32 (const std::string &ikm_hex, const std::string &salt_hex, const std::string &info_hex, const std::string &okm_check_hex) |
|
void | TestSHA3_256 (const std::string &input, const std::string &output) |
|
void | SeedRandomForTest (SeedRand seed) |
| Seed the global RNG state and m_rng for testing and log the seed value. More...
|
|
| BasicTestingSetup (const ChainType chainType=ChainType::MAIN, TestOpts={}) |
|
| ~BasicTestingSetup () |
|
Definition at line 32 of file crypto_tests.cpp.