crypto: tcrypt - Avoid using contiguous pages
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 31 Jul 2008 04:23:53 +0000 (12:23 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 Aug 2008 05:48:57 +0000 (15:48 +1000)
commitf139cfa7cdccd0b315fad098889897b5fcd389b0
tree365985f84f6dade6125f7d9a0e8cffcf30b87fa0
parenta7581a01fbc69771a2b391de4220ba670c0aa261
crypto: tcrypt - Avoid using contiguous pages

If tcrypt is to be used as a run-time integrity test, it needs to be
more resilient in a hostile environment.  For a start allocating 32K
of physically contiguous memory is definitely out.

This patch teaches it to use separate pages instead.

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