diff options
author | Linus Groh <mail@linusgroh.de> | 2022-03-22 11:26:14 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-03-22 11:26:29 +0000 |
commit | f36f9c106bfa3066110948215008b4bfb23256fa (patch) | |
tree | db25238bccc8095300b6af893b21a0e34e100a7a /Userland/Libraries/LibCrypto/Hash/SHA2.cpp | |
parent | bd110be367e53d60e895fec4784ee06b68bcded7 (diff) | |
download | serenity-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.cpp | 6 |
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; |