linux/drivers/crypto
Herbert Xu 4c6ab3ee4c crypto: padlock-sha - Fix stack alignment
The PadLock hardware requires the output buffer for SHA to be
128-bit aligned.  We currentply place the buffer on the stack,
and ask gcc to align it to 128 bits.  That doesn't work on i386
because the kernel stack is only aligned to 32 bits.  This patch
changes the code to align the buffer by hand so that the hardware
doesn't fault on unaligned buffers.

Reported-by: Séguier Régis <rguier@e-teleport.net>
Tested-by: Séguier Régis <rguier@e-teleport.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-09-21 23:21:53 -07:00
..
amcc crypto: crypto4xx - Disable SHA implementation 2009-07-15 15:11:08 +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
Kconfig crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10:00
Makefile crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10:00
mv_cesa.c crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10:00
mv_cesa.h crypto: mv_cesa - Add support for Orion5X crypto engine 2009-08-10 12:50:03 +10: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-sha - Fix stack alignment 2009-09-21 23:21:53 -07:00
padlock.h [CRYPTO] padlock: Added block cipher versions of CBC/ECB 2006-09-21 11:44:35 +10:00
talitos.c crypto: talitos - add support for 36 bit addressing 2009-08-13 11:51:51 +10:00
talitos.h crypto: talitos - add support for 36 bit addressing 2009-08-13 11:51:51 +10:00