]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
crypto: aes - Precompute tables
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Dec 2008 00:05:13 +0000 (11:05 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Dec 2008 00:05:13 +0000 (11:05 +1100)
commit0ee4a96902dd7858e65f378c86f428a0355bd841
tree0f7851aa3ced0070b58c8a114904330aa4555fe7
parentca38a814c6f86db0aa58884a31093d4f096e20aa
crypto: aes - Precompute tables

The tables used by the various AES algorithms are currently
computed at run-time.  This has created an init ordering problem
because some AES algorithms may be registered before the tables
have been initialised.

This patch gets around this whole thing by precomputing the tables.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/aes_generic.c
include/crypto/aes.h