]> git.baikalelectronics.ru Git - kernel.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)
commit85c90e7729d8577cae4179685cced2f2185eda70
treea1cdc16b62919bcdc61a2a104ba5ac457eea4fa0
parentc66fbd3fa4d92cd3c9cde02d76b8f3f6df285569
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