Hashcat list FPGAs as OpenCL device type in its help.
- [ OpenCL Device Types ] -
# | Device Type
===+=============
1 | CPU
2 | GPU
3 | FPGA, DSP, Co-Processor
So can you really somehow connect and use an FPGA with hashcat?
Hashcat list FPGAs as OpenCL device type in its help.
- [ OpenCL Device Types ] -
# | Device Type
===+=============
1 | CPU
2 | GPU
3 | FPGA, DSP, Co-Processor
So can you really somehow connect and use an FPGA with hashcat?
Not yet (as of April 2022). The framework is there to support them - if there is OpenCL for the platform. But so far, there haven't been sufficiently usable implementations of OpenCL for any FPGAs (at least, not publicly).
In theory yes, in practice, it's not well-supported. Here's what the creator said on the matter as of 2020 (and the situation doesn't seem to have changed)
There aren't FPGAs which have been proven to be able to compile our kernel source, including the ZTEX boards.
Those only work with the native ztex code written for JohnTheRipper. You would need to find an FPGA that can properly compile OpenCL. No current FPGAs, as far as I am aware, allow for JIT compilation of OpenCL kernels because compiling kernels for them can take hours/days/weeks to complete.
You would need to go through the process of manually precompiling the kernel source for your specific hardware, using the tool chain specific to your hardware (which can be quite expensive on its own), and then from there load the kernel into hashcat via the kernel folder or make some modification to the hashcat host code to select it specifically. This would also likely need to be done per attack given that some things are changed during compilation depending on attack settings.