Salsa20 issue resolved!

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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: