lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 27 Jan 2014 19:17:00 -0500
From: "Gary W. Hvizdak" <gary.hvizdak@....rr.com>
To: <discussions@...sword-hashing.net>
Subject: RE: [PHC] Combining sliding window and bit-reversal

Bill Cox wrote ...

The Catena code does it this way:

- swap 4 bytes little-endian to big-endian style - 4 cycles max, or 1
in parallel.
- swap each upper nibble with the lower nibble:
    x = ((x & F0F0F0F0) >> 4) | ((x & 0x0F0F0F0F) << 4)
- swap bit pairs...

--

This looks like it's reversing at the byte level.  I had assumed the
objective was to reverse the entire 64 bits?

Gary

Powered by blists - more mailing lists