m02500.cl EXPLAIN NEEDED
#1
Hi

i was looking at the wpa cl file: m02500.cl

It looks that there is many similar lines.. which may be replaced with one function or something..
I want to optimize it a bit to get better speed

can someone explain it line by line ?

thank you
#2
Yeah a function or something
#3
(02-10-2017, 02:43 PM)atom Wrote: Yeah a function or something

can you explain it line by line? im sure i can make a change
#4
The thing is if you would have any experience in programming you wouldn't have said so. A function will not make it faster, it will make no difference at all. The compiler will recognize a fixed number of iterations and automatically unroll it back. Finally a function only makes it harder to read, hence the code is as it is.
#5
(02-10-2017, 03:00 PM)atom Wrote: The thing is if you would have any experience in programming you wouldn't have said so. A function will not make it faster, it will make no difference at all. The compiler will recognize a fixed number of iterations and automatically unroll it back. Finally a function only makes it harder to read, hence the code is as it is.

Well, i'm still trying to understand it all,, i see there are 11 phases, can you explain what do each one do?
#6
It's not hard to understand if you know OpenCL in detail, Crypto schemes like PBKDF2 and how to optimize it as an attacker, HMAC and how to optimize it as an attacker, SHA1 and how to optimize it as an attacker, some Assembly coding for the registers, general GPU architecture for the management, the WPA handshake and how to crack it and most of the bugs in the OpenCL runtime of the different vendors and some other stuff but most important: lots of plain C and of course a good understand of the hashcat architecture
#7
Yeah, like just put that in a function.
#8
or something!