]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
crypto: gf128mul - rename the byte overflow tables
authorEric Biggers <ebiggers@google.com>
Tue, 14 Feb 2017 21:43:29 +0000 (13:43 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Mar 2017 10:34:15 +0000 (18:34 +0800)
commitf33fd64778f2593b3b377cef47b8604462d56a57
treea1cdc16b62919bcdc61a2a104ba5ac457eea4fa0
parent2416e4fa98b9763ea06e0f441c23ce7a293a87f4
crypto: gf128mul - rename the byte overflow tables

Though the GF(2^128) byte overflow tables were named the "lle" and "bbe"
tables, they are not actually tied to these element formats
specifically, but rather to particular a "bit endianness".  For example,
the bbe table is actually used for both bbe and ble multiplication.
Therefore, rename the tables to "le" and "be" and update the comment to
explain this.

Cc: Alex Cope <alexcope@google.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/gf128mul.c