Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 13 Aug 2012 08:36:46 +0530
From: Sayantan Datta <std2048@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: bitslice DES on GPU (was: DES_BS_ASM in DES_bs_b.c)

On Sun, Aug 12, 2012 at 10:16 PM, Solar Designer <solar@...nwall.com> wrote:

> Hi Sayantan,
>
> On Sun, Aug 12, 2012 at 02:07:11PM +0530, Sayantan Datta wrote:
> > What should be the value of DES_BS parameter for a gpu ? I mean which
> s-box
> > file out of three should I use for gpu implementation ? Also could you
> > explain the parameters latency ,regs and triop in those s-boxes.
>
> It is way too early for that - you can use any one of the three files
> with any settings to get things working first - but since you asked:
>
> sboxes-s.c is meant to be right for ATI/AMD GPUs, provided that you make
> use of bitselect() (define the vsel() macro to use it).
>
> sboxes.c is meant to be right for NVIDIA (and we'll replace this file
> with one that has even more suitable S-boxes later).  andn is thus set
> to 0, triop should be set to 1.
>
> latency and regs will need to be experimented with.  Optimal settings
> for these will probably depend on your higher-level code revision, on
> its other settings, and on GPU type.
>
> Alexander
>

What should be the value of DES_BS_EXPAND for GPU implentation ?

Regards,
Sayantan

Content of type "text/html" skipped

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.