kernel-fxtec-pro1x/crypto
Herbert Xu f10b7897ee [CRYPTO] api: Align tfm context as wide as possible
Since tfm contexts can contain arbitrary types we should provide at least
natural alignment (__attribute__ ((__aligned__))) for them.  In particular,
this is needed on the Xscale which is a 32-bit architecture with a u64 type
that requires 64-bit alignment.  This problem was reported by Ronen Shitrit.

The crypto_tfm structure's size was 44 bytes on 32-bit architectures and
80 bytes on 64-bit architectures.  So adding this requirement only means
that we have to add an extra 4 bytes on 32-bit architectures.

On i386 the natural alignment is 16 bytes which also benefits the VIA
Padlock as it no longer has to manually align its context structure to
128 bits.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-03-21 20:14:08 +11:00
..
aes.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
anubis.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
api.c [CRYPTO] api: Align tfm context as wide as possible 2006-03-21 20:14:08 +11:00
arc4.c
blowfish.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
cast5.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
cast6.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
cipher.c [CRYPTO] cipher: Align temporary buffer in cbc_process_decrypt 2006-01-09 14:15:49 -08:00
compress.c
crc32c.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
crypto_null.c
deflate.c
des.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
digest.c
hmac.c [PATCH] Use sg_set_buf/sg_init_one where applicable 2005-10-30 11:19:43 +11:00
internal.h [CRYPTO] Allow multiple implementations of the same algorithm 2006-01-09 14:15:37 -08:00
Kconfig [CRYPTO] Allow AES C/ASM implementations to coexist 2006-01-09 14:15:39 -08:00
khazad.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
Makefile
md4.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
md5.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
michael_mic.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
proc.c [CRYPTO] Allow multiple implementations of the same algorithm 2006-01-09 14:15:37 -08:00
scatterwalk.c [PATCH] remove bogus asm/bug.h includes. 2006-02-07 20:56:35 -05:00
scatterwalk.h [CRYPTO] Add alignmask for low-level cipher implementations 2005-07-06 13:52:09 -07:00
serpent.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
sha1.c [CRYPTO] sha1: Fixed off-by-64 bug in sha1_update 2006-01-09 14:15:56 -08:00
sha256.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
sha512.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
tcrypt.c [PATCH] s390: in-kernel crypto test vectors 2006-01-06 08:33:51 -08:00
tcrypt.h [PATCH] s390: in-kernel crypto test vectors 2006-01-06 08:33:51 -08:00
tea.c [CRYPTO] cipher: Set alignmask for multi-byte loads 2006-01-09 14:16:00 -08:00
tgr192.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00
twofish.c [CRYPTO] twofish: Use rol32/ror32 where appropriate 2006-03-21 20:14:08 +11:00
wp512.c [CRYPTO] Use standard byte order macros wherever possible 2006-01-09 14:15:34 -08:00