Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 22 May 2012 15:05:29 +0800
From: myrice <qqlddg@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: OpenCL SWAP64 on 7970

On Mon, May 14, 2012 at 4:12 AM, magnum <john.magnum@...hmail.com> wrote:
> #define SWAP64(n)       as_uint64_t(as_uchar8(n).s76543210)
>
> However, I'm not sure you can trust that this works on any platform (I
> believe the 32-bit version is safe though - it's widely used).
>

Thanks! This fixed my bug. I will try to reproduce the bug in old SWAP64(n).

myrice

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.