[CRYPTO] salsa20_generic: Fix multi-page processing
authorTan Swee Heng <thesweeheng@gmail.com>
Fri, 7 Dec 2007 08:38:45 +0000 (16:38 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jan 2008 21:16:34 +0000 (08:16 +1100)
This patch fixes the multi-page processing bug that affects large test
vectors (the same bug that previously affected ctr.c).

There is an optimization for the case walk.nbytes == nbytes. Also we
now use crypto_xor() instead of adhoc XOR routines.

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

No differences found