[CRYPTO] cipher: Set alignmask for multi-byte loads
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 7 Jan 2006 05:38:15 +0000 (16:38 +1100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 9 Jan 2006 22:16:00 +0000 (14:16 -0800)
commita429d2609c153882c421b067ad5ae5a38851459e
tree896934bd313ef565011f09b13d0dc0ae3b043641
parent7302533aac2df321b76e8a113e5cfa529c825b09
[CRYPTO] cipher: Set alignmask for multi-byte loads

Many cipher implementations use 4-byte/8-byte loads/stores which require
alignment on some architectures.  This patch explicitly sets the alignment
requirements for them.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/aes.c
crypto/anubis.c
crypto/blowfish.c
crypto/cast5.c
crypto/cast6.c
crypto/des.c
crypto/khazad.c
crypto/serpent.c
crypto/tea.c
crypto/twofish.c