Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 21 Dec 2008 04:46:18 +0300
From: Solar Designer <>
Subject: Re: Bitslice DES fast implementation for AltiVec(PPC)


On Wed, Dec 17, 2008 at 04:12:52AM +0900, Dumplinger Boy wrote:
> I tried the method of making Bitslice DES can executed at high speed
> or more in PowerPC.
> VSEL instruction can replace 3 instruction combination(VAND, VANDC, and VOR).

Right.  Is your work in any way based on Marc Bevand's or did you arrive
at this independently?  I am referring to this thread:

(and click "[thread-next>]" to see the follow-ups, including a
discussion of applying the approach to "regular" PowerPC with AltiVec).

What are you using to generate your sboxes-alti.c file?

Would you like your code to be integrated into the official JtR, into
the jumbo patch, or not at all?

For the official JtR, your use of a BSD license is problematic; I'd
prefer public domain or an even more relaxed license, obviously
compatible with both BSD and GPL and not requiring anything extra. says that the 2-clause BSD
license is GPL-compatible, yet I think it imposes extra restrictions -
namely, it requires that it be "reproduced" on copies of the software.
So merely including the GNU GPL with the software (or referring to it)
becomes no longer sufficient.

As an option, you could release whatever software you use to generate
your sboxes-alti.c, under a license of your choice, but not have that
license apply to the program's output.

FWIW, your patch appears to do more than it needs to.  It would probably
be sufficient to replace:

#include "DES_bs_a.c"


#include "sboxes-alti.c"

>  As long as I know, scaler-integer and AltiVec instructions can be
> operated parallel in most PowerPC imprementation. Therefore, there is a
> possibility of more performance gain.

Yes.  This idea was commented on in this posting:


Alexander Peslyak <solar at>
GPG key ID: 5B341F15  fp: B3FB 63F4 D7A3 BCCC 6F6E  FC55 A2FC 027C 5B34 1F15 - bringing security into open computing environments

To unsubscribe, e-mail and reply
to the automated confirmation request that will be sent to you.

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.