As I’ve mentioned before, the Salsa20 implementation I submitted had a bug which caused erroneous processing near page boundary. This is similar to the CTR bug.
Well, the bug has been squashed! The patches are available here. It uses the same idea as Herbert’s CTR patch.
I’ve also added an optimization for the case walk.nbytes == nbytes, which I believe occurs rather frequently.