summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCrypto/Hash/SHA2.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-03-22 11:26:14 +0000
committerLinus Groh <mail@linusgroh.de>2022-03-22 11:26:29 +0000
commitf36f9c106bfa3066110948215008b4bfb23256fa (patch)
treedb25238bccc8095300b6af893b21a0e34e100a7a /Userland/Libraries/LibCrypto/Hash/SHA2.cpp
parentbd110be367e53d60e895fec4784ee06b68bcded7 (diff)
downloadserenity-f36f9c106bfa3066110948215008b4bfb23256fa.zip
LibCrypto: Fix grammar in a couple of comments
Diffstat (limited to 'Userland/Libraries/LibCrypto/Hash/SHA2.cpp')
-rw-r--r--Userland/Libraries/LibCrypto/Hash/SHA2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibCrypto/Hash/SHA2.cpp b/Userland/Libraries/LibCrypto/Hash/SHA2.cpp
index 4a3698dc92..786bbceff9 100644
--- a/Userland/Libraries/LibCrypto/Hash/SHA2.cpp
+++ b/Userland/Libraries/LibCrypto/Hash/SHA2.cpp
@@ -128,7 +128,7 @@ SHA256::DigestType SHA256::peek()
// SHA uses big-endian and we assume little-endian
// FIXME: looks like a thing for AK::NetworkOrdered,
- // but he doesn't support shifting operations
+ // but that doesn't support shifting operations
for (size_t i = 0; i < 4; ++i) {
digest.data[i + 0] = (m_state[0] >> (24 - i * 8)) & 0x000000ff;
digest.data[i + 4] = (m_state[1] >> (24 - i * 8)) & 0x000000ff;
@@ -246,7 +246,7 @@ SHA384::DigestType SHA384::peek()
// SHA uses big-endian and we assume little-endian
// FIXME: looks like a thing for AK::NetworkOrdered,
- // but he doesn't support shifting operations
+ // but that doesn't support shifting operations
for (size_t i = 0; i < 8; ++i) {
digest.data[i + 0] = (m_state[0] >> (56 - i * 8)) & 0x000000ff;
digest.data[i + 8] = (m_state[1] >> (56 - i * 8)) & 0x000000ff;
@@ -361,7 +361,7 @@ SHA512::DigestType SHA512::peek()
// SHA uses big-endian and we assume little-endian
// FIXME: looks like a thing for AK::NetworkOrdered,
- // but he doesn't support shifting operations
+ // but that doesn't support shifting operations
for (size_t i = 0; i < 8; ++i) {
digest.data[i + 0] = (m_state[0] >> (56 - i * 8)) & 0x000000ff;
digest.data[i + 8] = (m_state[1] >> (56 - i * 8)) & 0x000000ff;