crypto: ixp4xx - check firmware for crypto support
commit295c01f90db2b8b8394e1f7cde59b96d71f98e07
authorChristian Hohnstaedt <chohnstaedt@innominate.com>
Sun, 12 Apr 2009 05:01:44 +0000 (12 13:01 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 12 Apr 2009 05:01:44 +0000 (12 13:01 +0800)
tree5751ab5864ec32015a464ab09d6c64e449e358b1
parent0d44dc59b2b434b29aafeae581d06f81efac7c83
crypto: ixp4xx - check firmware for crypto support

 - the loaded firmware may not support crypto at all or
   only support DES and 3DES but not AES or
   support DES, 3DES and AES.

 - in case of no crypto support of the firmware, the module load will fail.
 - in case of missing AES support, the AES algorithms are not registered
   and a warning is printed during module load.

Signed-off-by: Christian Hohnstaedt <chohnstaedt@innominate.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ixp4xx_crypto.c