Changeset View
Changeset View
Standalone View
Standalone View
src/test/crypto_tests.cpp
Show All 9 Lines | |||||
#include "crypto/sha256.h" | #include "crypto/sha256.h" | ||||
#include "crypto/sha512.h" | #include "crypto/sha512.h" | ||||
#include "test/test_bitcoin.h" | #include "test/test_bitcoin.h" | ||||
#include "test/test_random.h" | #include "test/test_random.h" | ||||
#include "utilstrencodings.h" | #include "utilstrencodings.h" | ||||
#include <vector> | #include <vector> | ||||
#include <boost/assign/list_of.hpp> | |||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
#include <openssl/aes.h> | #include <openssl/aes.h> | ||||
#include <openssl/evp.h> | #include <openssl/evp.h> | ||||
BOOST_FIXTURE_TEST_SUITE(crypto_tests, BasicTestingSetup) | BOOST_FIXTURE_TEST_SUITE(crypto_tests, BasicTestingSetup) | ||||
template <typename Hasher, typename In, typename Out> | template <typename Hasher, typename In, typename Out> | ||||
void TestVector(const Hasher &h, const In &in, const Out &out) { | void TestVector(const Hasher &h, const In &in, const Out &out) { | ||||
▲ Show 20 Lines • Show All 528 Lines • Show Last 20 Lines |