1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:27:45 +00:00

LibCrypto: Use AK::Variant in MultiHashDigestVariant

This commit is contained in:
DexesTTP 2021-05-18 20:15:20 +02:00 committed by Andreas Kling
parent 2c1916dd8d
commit 73f585ceb4
4 changed files with 25 additions and 56 deletions

View file

@ -77,7 +77,7 @@ struct SHA2Digest {
u8 data[Bytes];
constexpr static size_t Size = Bytes;
const u8* immutable_data() const { return data; }
size_t data_length() { return Bytes; }
size_t data_length() const { return Bytes; }
};
// FIXME: I want template<size_t BlockSize> but the compiler gets confused