Refactored keccak constants initialization

This commit is contained in:
SChernykh
2025-10-19 14:13:57 +02:00
parent baf13781e4
commit d8e4a00a32
4 changed files with 149 additions and 8 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ struct alignas(uint64_t) hash
{
uint8_t h[HASH_SIZE];
FORCEINLINE hash() : h{} {}
FORCEINLINE constexpr hash() : h{} {}
constexpr hash(std::initializer_list<uint8_t> l) : h{} {
auto it = l.begin();