2007-12-03 22:31:29

by Tan Swee Heng

[permalink] [raw]
Subject: [PATCH 1/2] 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 <[email protected]>


Attachments:
(No filename) (302.00 B)
patch1-multi_page.txt (1.79 kB)
Download all attachments