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:
parent
2c1916dd8d
commit
73f585ceb4
4 changed files with 25 additions and 56 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue