summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCrypto/Hash/SHA2.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCrypto/Hash/SHA2.h')
-rw-r--r--Userland/Libraries/LibCrypto/Hash/SHA2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibCrypto/Hash/SHA2.h b/Userland/Libraries/LibCrypto/Hash/SHA2.h
index 584e229845..b9cb3315dd 100644
--- a/Userland/Libraries/LibCrypto/Hash/SHA2.h
+++ b/Userland/Libraries/LibCrypto/Hash/SHA2.h
@@ -176,7 +176,7 @@ private:
u64 m_bit_length { 0 };
u64 m_state[8];
- constexpr static auto FinalBlockDataSize = BlockSize - 8;
+ constexpr static auto FinalBlockDataSize = BlockSize - 16;
constexpr static auto Rounds = 80;
};
@@ -228,7 +228,7 @@ private:
u64 m_bit_length { 0 };
u64 m_state[8];
- constexpr static auto FinalBlockDataSize = BlockSize - 8;
+ constexpr static auto FinalBlockDataSize = BlockSize - 16;
constexpr static auto Rounds = 80;
};