linux/drivers/crypto
Herbert Xu bbbee4679a crypto: padlock - Switch sha to shash
This patch converts the padlock-sha implementation to shash.
In doing so the existing mechanism of storing the data until
final is no longer viable as we do not have a way of allocating
data in crypto_shash_init and then reliably freeing it.

This is just as well because a better way of handling the problem
is to hash everything but the last chunk using normal sha code
and then provide the intermediate result to the padlock device.

This is good enough because the primary application of padlock-sha
is IPsec and there the data is laid out in the form of an hmac
header followed by the rest of the packet.  In essence we can
provide all the data to the padlock as the hmac header only needs
to be hashed once.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-07-14 12:58:02 +08:00
..
amcc crypto: amcc - Add crypt4xx driver 2009-02-18 16:49:43 +08:00
Kconfig crypto: padlock - Switch sha to shash 2009-07-14 12:58:02 +08:00
Makefile crypto: amcc - Add crypt4xx driver 2009-02-18 16:49:43 +08:00
geode-aes.c [CRYPTO] geode: Add __dev{init,exit} annotations 2008-01-11 08:16:38 +11:00
geode-aes.h [CRYPTO] geode: do not copy the IV too often 2008-01-11 08:16:26 +11:00
hifn_795x.c crypto: hifn_795x - fix __dev{init,exit} markings 2009-06-02 14:04:59 +10:00
ixp4xx_crypto.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2009-05-17 15:48:05 -07:00
padlock-aes.c crypto: padlock-aes - work around Nano CPU errata in CBC mode 2009-06-18 19:31:09 +08:00
padlock-sha.c crypto: padlock - Switch sha to shash 2009-07-14 12:58:02 +08:00
padlock.h [CRYPTO] padlock: Added block cipher versions of CBC/ECB 2006-09-21 11:44:35 +10:00
talitos.c crypto: talitos - Avoid unnecessary decrypt check 2009-06-02 14:04:30 +10:00
talitos.h crypto: remove uses of __constant_{endian} helpers 2008-12-25 11:02:03 +11:00