Skip to content

Commit

Permalink
crypto: gf128mul - remove incorrect comment
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
ebiggers authored and herbertx committed Dec 22, 2017
1 parent 8c9478a commit f5c421d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crypto/gf128mul.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit f5c421d

Please sign in to comment.