diff --git a/include/data/crypto/hash/digest.hpp b/include/data/crypto/hash/digest.hpp index 2998d3db..3cad2310 100644 --- a/include/data/crypto/hash/digest.hpp +++ b/include/data/crypto/hash/digest.hpp @@ -11,7 +11,6 @@ namespace data::crypto { template struct digest : math::uint { - static const uint32 size = s; using math::uint::uint; diff --git a/include/data/crypto/random.hpp b/include/data/crypto/random.hpp index 30695793..bd6067ae 100644 --- a/include/data/crypto/random.hpp +++ b/include/data/crypto/random.hpp @@ -7,6 +7,7 @@ #include #include +#include namespace data::crypto { @@ -33,7 +34,7 @@ namespace data::crypto { template random& operator>>(X& x) { - get(x.data(), x.size()); + get(x.data(), data::size(x)); return *this; }