Fix mode 100 attack 3 with mangling
authorDavid Llewellyn-Jones <david@flypig.co.uk>
Thu, 25 Aug 2016 00:05:57 +0000 (00:05 +0000)
committerDavid Llewellyn-Jones <david@flypig.co.uk>
Thu, 25 Aug 2016 00:05:57 +0000 (00:05 +0000)
commit1fb52fb481f77756addfe2f80df54e83f5269a88
treea9493e553091679726aca7f29c77d8bd3e45f7c4
parentf889f963895c714f709584cb0ceb671260eb29ec
Fix mode 100 attack 3 with mangling

Allows mangled checking of unsalted SHA1 with mangling. I hadn't
noticed the bytes are pre-swapped. The hash routine now unswaps
them before applying the mangling and then swaps them back.
OpenCL/m00100_a3_m.cl