CTR issue resolved!

The bug in CTR has been resolved! Herbert wrote a better patch than the one I did. After some minor fixes to the patch, CTR now does multi-page processing properly. The same idea should be applied to Salsa20, which also has the same bug.

A large test vectors (large in the sense that it forces multi-page access) of 4100 bytes was added to tcrypt.h to test the code.

The patches are available here. Unfortunately, the patches results in substantial bloat of tcrypt.ko.

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: