Skip to content

Commit

Permalink
crypto: twofish - Fix comment typo
Browse files Browse the repository at this point in the history
The double `that' is duplicated in line 301, remove one.

Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Jason Wang authored and herbertx committed Jul 22, 2022
1 parent 4cbdecd commit 824b94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/twofish_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 824b94a

Please sign in to comment.