From e06d7b381f57bf8fd668e9e70d04a8b7302ee19b Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Sun, 6 Dec 2020 08:40:46 +1000 Subject: [PATCH] hash/blake2: update namespace for size_type trait --- hash/blake2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hash/blake2.cpp b/hash/blake2.cpp index 1f4297b..e1cb8cb 100644 --- a/hash/blake2.cpp +++ b/hash/blake2.cpp @@ -11,7 +11,7 @@ #include #include #include -#include +#include using cruft::crypto::hash::blake2; @@ -20,7 +20,7 @@ using cruft::crypto::hash::blake2; // blake2b: u64 struct traits { static constexpr int word_bits = 64; - using word_t = typename cruft::bits_type::uint; + using word_t = typename cruft::types::sized::bits::uint; static constexpr int F_rounds = 12; static constexpr int block_bytes = 128; // bb static constexpr int max_hash_bytes = 64; // nn