Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 26 Jun 2012 12:37:17 -0300
From: Claudio André <claudioandre.br@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: committed patches

Em 26-06-2012 12:31, Lukas Odzioba escreveu:
> 2012/6/26 magnum <john.magnum@...hmail.com>:
>> Committed to git since my last report (newest at top):
>>
>> Should I revert Lukas' latest phpass so we get a working format?
> This is a problem for nvidia:
> #define rot(x, y) amd_bitalign(x, x, (u)(32 - y))
>
> I am looking workaround for that please give me half an hour.
>
> Lukas

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

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.