]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[CRYPTO] api: Require block size to be less than PAGE_SIZE/8
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 7 Jan 2006 05:24:15 +0000 (16:24 +1100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 9 Jan 2006 22:15:58 +0000 (14:15 -0800)
commit7302533aac2df321b76e8a113e5cfa529c825b09
tree9499633f4d5b6eeecc41ac50cca7fcf5310efd9e
parentbcb0ad2b34daade529ce1f38eede0ea8b7309535
[CRYPTO] api: Require block size to be less than PAGE_SIZE/8

The cipher code path may allocate up to two blocks of data on the stack.
Therefore we need to place limits on the maximum block size.

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