crypto: testmgr - Allow hash test vectors longer than a page
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 May 2009 06:23:12 +0000 (16:23 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 2 Jun 2009 04:05:02 +0000 (14:05 +1000)
commita0cfae59f8381c5c670fce2cc3de70b35421f920
tree2da53742941cc478b5d04ca3097acf6b55814dd3
parentfd57f22a09ae276ca3e9cd11ed99b617d611ba82
crypto: testmgr - Allow hash test vectors longer than a page

As it stands we will each test hash vector both linearly and as
a scatter list if applicable.  This means that we cannot have
vectors longer than a page, even with scatter lists.

This patch fixes this by skipping test vectors with np != 0 when
testing linearly.

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