From: Sun Chaobo <suncoding913@gmail.com>
To: herbert@gondor.apana.org.au
Cc: linux-crypto@vger.kernel.org, Sun Chaobo <suncoding913@gmail.com>
Subject: [PATCH] crypto: fix spelling errors in comments
Date: Mon, 23 Feb 2026 21:28:53 +0800 [thread overview]
Message-ID: <20260223132853.37393-1-suncoding913@gmail.com> (raw)
Fix several spelling mistakes in comments across the following files:
- crypto/tea.c: Correct "algorogrthm" to "algorithm"
- crypto/lrw.c: Correct "mutliple" to "multiple"
- crypto/drbg.c: Correct "additonal" to "additional"
No functional change.
Signed-off-by: Sun Chaobo <suncoding913@gmail.com>
---
crypto/drbg.c | 2 +-
crypto/lrw.c | 2 +-
crypto/tea.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/crypto/drbg.c b/crypto/drbg.c
index 1ed209e5d..9204e6edb 100644
--- a/crypto/drbg.c
+++ b/crypto/drbg.c
@@ -1780,7 +1780,7 @@ static inline int __init drbg_healthcheck_sanity(void)
max_addtllen = drbg_max_addtl(drbg);
max_request_bytes = drbg_max_request_bytes(drbg);
drbg_string_fill(&addtl, buf, max_addtllen + 1);
- /* overflow addtllen with additonal info string */
+ /* overflow addtllen with additional info string */
len = drbg_generate(drbg, buf, OUTBUFLEN, &addtl);
BUG_ON(0 < len);
/* overflow max_bits */
diff --git a/crypto/lrw.c b/crypto/lrw.c
index dd403b800..aa31ab03a 100644
--- a/crypto/lrw.c
+++ b/crypto/lrw.c
@@ -134,7 +134,7 @@ static int lrw_next_index(u32 *counter)
/*
* We compute the tweak masks twice (both before and after the ECB encryption or
* decryption) to avoid having to allocate a temporary buffer and/or make
- * mutliple calls to the 'ecb(..)' instance, which usually would be slower than
+ * multiple calls to the 'ecb(..)' instance, which usually would be slower than
* just doing the lrw_next_index() calls again.
*/
static int lrw_xor_tweak(struct skcipher_request *req, bool second_pass)
diff --git a/crypto/tea.c b/crypto/tea.c
index cb05140e3..7c66efcb5 100644
--- a/crypto/tea.c
+++ b/crypto/tea.c
@@ -2,7 +2,7 @@
/*
* Cryptographic API.
*
- * TEA, XTEA, and XETA crypto alogrithms
+ * TEA, XTEA, and XETA crypto algorithms
*
* The TEA and Xtended TEA algorithms were developed by David Wheeler
* and Roger Needham at the Computer Laboratory of Cambridge University.
--
2.53.0
next reply other threads:[~2026-02-23 13:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-23 13:28 Sun Chaobo [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-02-24 3:37 [PATCH] crypto: fix spelling errors in comments Sun Chaobo
2026-03-07 4:55 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260223132853.37393-1-suncoding913@gmail.com \
--to=suncoding913@gmail.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.