summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2022-07-15 12:50:07 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-07-22 16:22:04 +0800
commitc776976fd7db27606287c9bbe3ee626d7ce28b25 (patch)
tree55b5b6296d5ae392bc49b182c77d57b2c042a613
parent669d141961eb86abe5150ce3e30437aa5d65bb71 (diff)
downloadlinux-crypto-c776976fd7db27606287c9bbe3ee626d7ce28b25.tar.gz
linux-crypto-c776976fd7db27606287c9bbe3ee626d7ce28b25.zip
crypto: twofish - Fix comment typo
The double `that' is duplicated in line 301, remove one. Signed-off-by: Jason Wang <wangborong@cdjrlc.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/twofish_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/twofish_common.c b/crypto/twofish_common.c
index d23fa531..f921f303 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