|
|
Message-ID: <56200BA7.6090208@semjanov.com>
Date: Thu, 15 Oct 2015 23:25:11 +0300
From: Pavel Semjanov <pavel@...janov.com>
To: john-dev@...ts.openwall.com
Subject: Re: 64-bit rotate on AMD GCN
On 12.10.2015 20:41, magnum wrote:
> On 2015-10-10 06:52, Solar Designer wrote:
>> #define ror(x, n) ((n) < 32 ? (amd_bitalign((uint)((x) >> 32),
>> (uint)(x), (uint)(n)) | ((ulong)amd_bitalign((uint)(x), (uint)((x) >>
>> 32), (uint)(n)) << 32)) : (amd_bitalign((uint)(x), (uint)((x) >> 32),
>> (uint)(n) - 32) | ((ulong)amd_bitalign((uint)((x) >> 32), (uint)(x),
>> (uint)(n) - 32) << 32)))
>>
>
> Thanks, this went into
> https://github.com/magnumripper/JohnTheRipper/issues/1819 and most or
> all applicable formats now use the above.
>
> magnum
>
>
Not working on small numbers and rotate by 8, like ror (0x220, 8).
I guess it's bitalign error. The only one mention I found is:
https://community.amd.com/thread/158878
--
SY / C4acT/\uBo Pavel Semjanov
_ _ _ http://www.semjanov.com
| | |-| |_|_| |-|
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.