]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CRYPTO] blkcipher: Remove alignment restriction on block size
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 29 Sep 2007 13:24:23 +0000 (21:24 +0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:46 +0000 (16:55 -0700)
commit70613783fc0f6e37b442d79e8417f71a2b71ed93
tree94cf5beb318c16e608fb7e03d4eed7decaaeefc1
parente4c5c6c9b0d04a7dac19027260f7421305a34856
[CRYPTO] blkcipher: Remove alignment restriction on block size

Previously we assumed for convenience that the block size is a multiple of
the algorithm's required alignment.  With the pending addition of CTR this
will no longer be the case as the block size will be 1 due to it being a
stream cipher.  However, the alignment requirement will be that of the
underlying implementation which will most likely be greater than 1.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algapi.c
crypto/blkcipher.c