aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/gf128mul.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-12-11 13:58:26 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2017-12-22 19:52:40 +1100
commitf5c421d545356e90d9c6bc544d29c700dc91a488 (patch)
treebdae3c3a1470bc050e0a0780ef35ad48a92d5dfa /crypto/gf128mul.c
parentcrypto: qat - reduce stack size with KASAN (diff)
downloadlinux-dev-f5c421d545356e90d9c6bc544d29c700dc91a488.tar.xz
linux-dev-f5c421d545356e90d9c6bc544d29c700dc91a488.zip
crypto: gf128mul - remove incorrect comment
The comment in gf128mul_x8_ble() was copy-and-pasted from gf128mul.h and makes no sense in the new context. Remove it. Cc: Harsh Jain <harsh@chelsio.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--crypto/gf128mul.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/gf128mul.c b/crypto/gf128mul.c
index 24e601954c7a..a4b1c026aaee 100644
--- a/crypto/gf128mul.c
+++ b/crypto/gf128mul.c
@@ -160,8 +160,6 @@ void gf128mul_x8_ble(le128 *r, const le128 *x)
{
u64 a = le64_to_cpu(x->a);
u64 b = le64_to_cpu(x->b);
-
- /* equivalent to gf128mul_table_be[b >> 63] (see crypto/gf128mul.c): */
u64 _tt = gf128mul_table_be[a >> 56];
r->a = cpu_to_le64((a << 8) | (b >> 56));