12 #include <boost/test/unit_test.hpp>
20 const uint256 a =
uint256S(
"87a086ae7d2252d58729b30263fb7b66308bf94ef59a76c9c86e7ea016536505");
21 const uint256 b =
uint256S(
"a75b84a125b2353da7e8d96ee2a15efe4de23df9601b9d9564ba59de57130406");
26 uint256 expected_result =
uint256S(
"5bf43b5736c19b714d1f462c9d22ba3492c36e3d9bbd7ca24d94b440550aa561");
arith_uint256 UintToArith256(const uint256 &a)
uint256 ArithToUint256(const arith_uint256 &a)
const arith_uint256 ARITH_UINT256_ONE
BOOST_AUTO_TEST_SUITE_END()
void librustzcash_merkle_hash(size_t depth, const unsigned char *a, const unsigned char *b, unsigned char *result)
Computes a merkle tree hash for a given depth.
#define BOOST_FIXTURE_TEST_SUITE(a, b)
#define BOOST_CHECK(expr)
BOOST_AUTO_TEST_CASE(pedersen_hash_testvectors)
uint256 uint256S(const char *str)