Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 23 Aug 2012 00:44:41 +0200
From: Knug Carl Gustf <>
Subject: [PATCH] Speed up VNC encryption by pre-computing DES_set_odd_parity()

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.

With love and respect,
Knug Carl Gustf
(email is borrowed, please call +46-(0)20-795611 for inquires)
Swedish Civil Contingencies Agency
Switchboard: +46-(0)20-795611
Fax: +46-(0)10-2405600

Download attachment "vnc-pre-computed-DES-parity.patch" of type "application/octet-stream" (4715 bytes)

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.