remarkable-linux/crypto
Herbert Xu 9547737799 [CRYPTO] Add alignmask for low-level cipher implementations
The VIA Padlock device requires the input and output buffers to
be aligned on 16-byte boundaries.  This patch adds the alignmask
attribute for low-level cipher implementations to indicate their
alignment requirements.

The mid-level crypt() function will copy the input/output buffers
if they are not aligned correctly before they are passed to the
low-level implementation.

Strictly speaking, some of the software implementations require
the buffers to be aligned on 4-byte boundaries as they do 32-bit
loads.  However, it is not clear whether it is better to copy
the buffers or pay the penalty for unaligned loads/stores.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-07-06 13:52:09 -07:00
..
aes.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
anubis.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
api.c [CRYPTO] Add alignmask for low-level cipher implementations 2005-07-06 13:52:09 -07:00
arc4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
blowfish.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cast5.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cast6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cipher.c [CRYPTO] Add alignmask for low-level cipher implementations 2005-07-06 13:52:09 -07:00
compress.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crc32c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
crypto_null.c [PATCH] crypto: fix null encryption/compression 2005-05-17 07:59:18 -07:00
deflate.c [PATCH] crypto: call zlib end functions on deflate exit path 2005-04-16 15:23:58 -07:00
des.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
digest.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hmac.c [CRYPTO] Don't check for NULL before kfree() 2005-07-06 13:51:00 -07:00
internal.h [CRYPTO] Add support for low-level multi-block operations 2005-07-06 13:51:52 -07:00
Kconfig [PATCH] uml: support AES i586 crypto driver 2005-05-01 08:58:54 -07:00
khazad.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md5.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
michael_mic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
proc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scatterwalk.c [CRYPTO] Add plumbing for multi-block operations 2005-07-06 13:51:31 -07:00
scatterwalk.h [CRYPTO] Add alignmask for low-level cipher implementations 2005-07-06 13:52:09 -07:00
serpent.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sha1.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sha256.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sha512.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tcrypt.c [CRYPTO]: Use CPU cycle counters in tcrypt 2005-06-22 13:29:03 -07:00
tcrypt.h [CRYPTO]: Add cipher speed tests 2005-06-22 13:27:23 -07:00
tea.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tgr192.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
twofish.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wp512.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00