Skip to content

Commit

Permalink
Update static assert, sha_256_224 is native.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jan 20, 2025
1 parent 7926328 commit d68ea96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/hash/sha/sha256.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ BOOST_AUTO_TEST_CASE(sha256_224__ttt_accumulator_hash__test_vectors__expected)
using sha_256_224 = sha::algorithm<sha::h256<224>, true, true, true>;

// Native only for sha256 (and sha160 when implemented).
static_assert(!sha_256_224::native);
static_assert(sha_256_224::native);
static_assert(sha_256_224::vector == vector);
static_assert(sha_256_224::caching);

Expand Down

0 comments on commit d68ea96

Please sign in to comment.