commit | eb6f13eb9f812f5812ed5d14f241309da369dee6 | [log] [tgz] |
---|---|---|
author | Tan Swee Heng <thesweeheng@gmail.com> | Fri Dec 07 16:38:45 2007 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Jan 11 08:16:34 2008 +1100 |
tree | eb49b8f64333e9389852dcd99a38279a076150d6 | |
parent | 7f6813786a6521380e1756ca5b4336bc63c5bf7d [diff] |
[CRYPTO] salsa20_generic: Fix multi-page processing 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>