aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypto/builtin/sha1
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2020-04-02 13:56:58 -0400
committerGreg Hudson <ghudson@mit.edu>2020-04-08 15:10:30 -0400
commitdb245c0d98c8e38a78a2e0b4af40ee23a18aaa96 (patch)
tree8453c1707733d0cdc3d9c2c6b0e3c0c9a825490d /src/lib/crypto/builtin/sha1
parent022f2cbc7f5abc9fbefa0d68b6025216c1b59353 (diff)
downloadkrb5-db245c0d98c8e38a78a2e0b4af40ee23a18aaa96.zip
krb5-db245c0d98c8e38a78a2e0b4af40ee23a18aaa96.tar.gz
krb5-db245c0d98c8e38a78a2e0b4af40ee23a18aaa96.tar.bz2
Fix typos in comments
Correct comment spelling errors detected using codespell. Reported by Jens Schleusener.
Diffstat (limited to 'src/lib/crypto/builtin/sha1')
-rw-r--r--src/lib/crypto/builtin/sha1/shs.c2
-rw-r--r--src/lib/crypto/builtin/sha1/t_shs3.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/crypto/builtin/sha1/shs.c b/src/lib/crypto/builtin/sha1/shs.c
index f28a4fc..f66a753 100644
--- a/src/lib/crypto/builtin/sha1/shs.c
+++ b/src/lib/crypto/builtin/sha1/shs.c
@@ -139,7 +139,7 @@ void SHSTransform(SHS_LONG *digest, const SHS_LONG *data)
#else
- /* Heavy mangling, in 4 sub-rounds of 20 interations each. */
+ /* Heavy mangling, in 4 sub-rounds of 20 iterations each. */
subRound( A, B, C, D, E, f1, K1, eData[ 0 ] );
subRound( E, A, B, C, D, f1, K1, eData[ 1 ] );
subRound( D, E, A, B, C, f1, K1, eData[ 2 ] );
diff --git a/src/lib/crypto/builtin/sha1/t_shs3.c b/src/lib/crypto/builtin/sha1/t_shs3.c
index f7932ef..7aa0bbd 100644
--- a/src/lib/crypto/builtin/sha1/t_shs3.c
+++ b/src/lib/crypto/builtin/sha1/t_shs3.c
@@ -17,7 +17,7 @@ static void test7(void);
/* When run on a little-endian CPU we need to perform byte reversal on an
array of longwords. It is possible to make the code endianness-
- independant by fiddling around with data at the byte level, but this
+ independent by fiddling around with data at the byte level, but this
makes for very slow code, so we rely on the user to sort out endianness
at compile time */