* [PATCH] crypto: Fix comment typo
@ 2022-07-15 4:50 Jason Wang
2022-07-22 8:44 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Jason Wang @ 2022-07-15 4:50 UTC (permalink / raw)
To: davem; +Cc: herbert, linux-crypto, linux-kernel, Jason Wang
The double `that' is duplicated in line 301, remove one.
Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
crypto/twofish_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/twofish_common.c b/crypto/twofish_common.c
index d23fa531b91f..f921f30334f4 100644
--- a/crypto/twofish_common.c
+++ b/crypto/twofish_common.c
@@ -298,7 +298,7 @@ static const u32 mds[4][256] = {
* multiplication is inefficient without hardware support. To multiply
* faster, I make use of the fact x is a generator for the nonzero elements,
* so that every element p of GF(2)[x]/w(x) is either 0 or equal to (x)^n for
- * some n in 0..254. Note that that caret is exponentiation in GF(2^8),
+ * some n in 0..254. Note that caret is exponentiation in GF(2^8),
* *not* polynomial notation. So if I want to compute pq where p and q are
* in GF(2^8), I can just say:
* 1. if p=0 or q=0 then pq=0
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] crypto: Fix comment typo
2022-07-15 4:50 [PATCH] crypto: Fix comment typo Jason Wang
@ 2022-07-22 8:44 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2022-07-22 8:44 UTC (permalink / raw)
To: Jason Wang; +Cc: davem, linux-crypto, linux-kernel
On Fri, Jul 15, 2022 at 12:50:07PM +0800, Jason Wang wrote:
> The double `that' is duplicated in line 301, remove one.
>
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
> crypto/twofish_common.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. 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] 2+ messages in thread
end of thread, other threads:[~2022-07-22 8:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-15 4:50 [PATCH] crypto: Fix comment typo Jason Wang
2022-07-22 8:44 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).