[CRYPTO] tcrypt: Support for large test vectors
authorTan Swee Heng <thesweeheng@gmail.com>
Thu, 29 Nov 2007 13:30:11 +0000 (00:30 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:25 +0000 (08:16 +1100)
commit6d1a69d53a34e6d906551d92e7639b739332b177
tree28a0cb065df734099001f7706a059e63d1adebb7
parent0971eb0de9446b66bd45696338f54948314db379
[CRYPTO] tcrypt: Support for large test vectors

Currently the number of entries in a cipher test vector template is
limited by TVMEMSIZE/sizeof(struct cipher_testvec). This patch
circumvents the problem by pointing cipher_tv to each entry in the
template, rather than the template itself.

Signed-off-by: Tan Swee Heng <thesweeheng@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c