diff options
author | lloyd <[email protected]> | 2015-01-08 01:11:17 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2015-01-08 01:11:17 +0000 |
commit | 718d577455c2e431e32064950f2612e1381c275a (patch) | |
tree | f7fbbad052a82c9f17309f64f3de7e2cec5ad603 /src/tests/test_hash.cpp | |
parent | 624787ec08f215a7b0be51ceeeb211a717bf7f50 (diff) |
Add SHA-512/256
Define some new functions for copying out arrays of words and use them
across hashes.
Diffstat (limited to 'src/tests/test_hash.cpp')
-rw-r--r-- | src/tests/test_hash.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/test_hash.cpp b/src/tests/test_hash.cpp index 6077bf906..ec14d6dd4 100644 --- a/src/tests/test_hash.cpp +++ b/src/tests/test_hash.cpp @@ -58,7 +58,8 @@ size_t hash_test(const std::string& algo, if(h != hex_decode_locked(out_hex)) { - std::cout << algo << " " << provider << " got " << hex_encode(h) << " != " << out_hex << "\n"; + std::cout << algo << " " << provider << " got " << hex_encode(h) << " != " << out_hex + << " (with discarded input)\n"; ++fails; } } |