Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250421151013.GA2096@openwall.com>
Date: Mon, 21 Apr 2025 17:10:13 +0200
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: FPGA Acceleration Support for --format=bitcoin

On Mon, Apr 21, 2025 at 06:53:07PM +0530, Pentester LAB wrote:
> Specifically, I am interested in using the --format=bitcoin hash type
> (e.g., hashes generated via bitcoin2john.py) with FPGA devices such as the
> ZTEX USB-FPGA 1.15y or other supported platforms.
> 
> Could you please confirm whether the --format=bitcoin is compatible with
> the existing FPGA acceleration framework in John the Ripper, or if this
> format is currently supported only via CPU/GPU (OpenCL) backends?

We have FPGA support only for 7 hash types and only on those ZTEX 1.15y
boards, as documented in doc/README-ZTEX.  We do not support anything
else on FPGA.  As to how someone capable could possibly add support for
those Bitcoin wallet.dat data extracts, see:

https://github.com/openwall/john/issues/4526

We currently only support them on CPU ("--format=bitcoin") and OpenCL
devices ("--format=bitcoin-opencl").  A typical OpenCL device is a GPU.
Theoretically, someone could also get OpenCL working on some FPGAs, but
support for this ranges from non-existent to very poor, so chances for
success (let alone good performance) are very low.

There's also little point in using FPGAs for these, because SHA-512
isn't too inefficient on GPUs.  While we do support a couple of SHA-512
based hash types (sha512crypt and Drupal7) on FPGA, this is mostly to
allow reuse of FPGA boards that people could acquire primarily for
cracking bcrypt on them, where FPGAs actually had significant advantage.

Alexander

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.