Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABob6iq_zwdkSubHTYMEbXeJ6Y0GofCaR3_x=Xh7=jDtwGpq8A@mail.gmail.com>
Date: Tue, 26 Jun 2012 18:16:42 +0200
From: Lukas Odzioba <lukas.odzioba@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: committed patches

2012/6/26 Claudio André <claudioandre.br@...il.com>:
> Something like this is working to me (inside OpenCL):
>
> #if gpu_nvidia(DEVICE_INFO)
>    #define Ch(x,y,z)       ((x & y) ^ ( (~x) & z))
>
> #elif gpu_amd(DEVICE_INFO)
>    #define Ch(x,y,z)       bitselect(z, y, x)
>
> Claudio

Thanks! but I am not sure that amd_bytealign is supported by all amd
devices, and proper handling requires more code than I thought, and
I'll add it later.
For now I am attaching amd and nv TStested version.

"Fixed phpass for nVidia devices"

Lukas

Download attachment "ocl_cuda_fix.diff" of type "application/octet-stream" (2524 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.