* [PATCH] crypto: fix spelling errors in comments
@ 2026-02-23 13:28 Sun Chaobo
0 siblings, 0 replies; 3+ messages in thread
From: Sun Chaobo @ 2026-02-23 13:28 UTC (permalink / raw)
To: herbert; +Cc: linux-crypto, Sun Chaobo
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] crypto: fix spelling errors in comments
@ 2026-02-24 3:37 Sun Chaobo
2026-03-07 4:55 ` Herbert Xu
0 siblings, 1 reply; 3+ messages in thread
From: Sun Chaobo @ 2026-02-24 3:37 UTC (permalink / raw)
To: herbert; +Cc: linux-crypto, Sun Chaobo
Fix several spelling mistakes in comments across the following files:
- crypto/tcrypt.c: Correct "intentionaly" to "intentionally"
- crypto/xts.c: Correct "mutliple" to "multiple"
No functional change.
Signed-off-by: Sun Chaobo <suncoding913@gmail.com>
---
crypto/tcrypt.c | 2 +-
crypto/xts.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index aded37546..6374c86a1 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -2817,7 +2817,7 @@ static int __init tcrypt_mod_init(void)
pr_debug("all tests passed\n");
}
- /* We intentionaly return -EAGAIN to prevent keeping the module,
+ /* We intentionally return -EAGAIN to prevent keeping the module,
* unless we're running in fips mode. It does all its work from
* init() and doesn't offer any runtime functionality, but in
* the fips case, checking for a successful load is helpful.
diff --git a/crypto/xts.c b/crypto/xts.c
index 3da8f5e05..ad97c8091 100644
--- a/crypto/xts.c
+++ b/crypto/xts.c
@@ -76,7 +76,7 @@ static int xts_setkey(struct crypto_skcipher *parent, const u8 *key,
/*
* 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 gf128mul_x_ble() calls again.
*/
static int xts_xor_tweak(struct skcipher_request *req, bool second_pass,
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] crypto: fix spelling errors in comments
2026-02-24 3:37 Sun Chaobo
@ 2026-03-07 4:55 ` Herbert Xu
0 siblings, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2026-03-07 4:55 UTC (permalink / raw)
To: Sun Chaobo; +Cc: linux-crypto
On Tue, Feb 24, 2026 at 11:37:56AM +0800, Sun Chaobo wrote:
> Fix several spelling mistakes in comments across the following files:
>
> - crypto/tcrypt.c: Correct "intentionaly" to "intentionally"
> - crypto/xts.c: Correct "mutliple" to "multiple"
>
> No functional change.
>
> Signed-off-by: Sun Chaobo <suncoding913@gmail.com>
> ---
> crypto/tcrypt.c | 2 +-
> crypto/xts.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Please merge this patch with your previous one.
Thanks,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-07 4:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-23 13:28 [PATCH] crypto: fix spelling errors in comments Sun Chaobo
-- strict thread matches above, loose matches on Subject: below --
2026-02-24 3:37 Sun Chaobo
2026-03-07 4:55 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox