Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 23 Aug 2012 14:56:55 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: [PATCH] Speed up VNC encryption by pre-computing DES_set_odd_parity()

On 2012-08-23 00:44, Knug Carl Gustf wrote:
> Hello, friends of the computer security industry!
> 
> The attached patch speeds up VNC encryption by just over 20% on my
> 64-bit Apple and Dell devices.
> It should apply cleanly to the master branch of the magnum-jumbo tree.
> 
> Most of the speed is gained by applying DES_set_odd_parity() to the
> bit_flip[] array in advance.  A few more percent increase in speed is
> gained by replacing the call to DES_set_key_checked() with a call to
> DES_set_key_unchecked().  Unlike the former, the latter neither does
> parity nor weak DES key checks.
> 

And a good 35% boost on core2duo. This too is committed now.

magnum

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.