[GH-ISSUE #2051] descrypt-opencl fails self test on super with --device=0 #1379

Closed
opened 2026-10-14 03:46:29 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @frank-dittrich on GitHub (Feb 14, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2051

$ ./john --test=0 --format=descrypt-opencl --device=0
Device 0: Juniper [AMD Radeon HD 6700 Green Edition]
Testing: descrypt-opencl, traditional crypt(3) [DES OpenCL]... FAILED (cmp_all(0))

Originally created by @frank-dittrich on GitHub (Feb 14, 2016). Original GitHub issue: https://github.com/openwall/john/issues/2051 ``` $ ./john --test=0 --format=descrypt-opencl --device=0 Device 0: Juniper [AMD Radeon HD 6700 Green Edition] Testing: descrypt-opencl, traditional crypt(3) [DES OpenCL]... FAILED (cmp_all(0)) ```
bsakaguchi 2026-10-14 03:46:29 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@solardiz commented on GitHub (Aug 10, 2016):

Confirmed. FWIW, the problem is hidden when the last 3 out of the 6 test vectors in opencl_DES_fmt_plug.c are removed. IOW, leaving these:

        {"CCNf8Sbh3HDfQ", "U*U*U*U*"},
        {"CCX.K.MFy4Ois", "U*U***U"},
        {"CC4rMpbg9AMZ.", "U*U***U*"},

and removing these:

        {"XXxzOu6maQKqQ", "*U*U*U*U"},
        {"SDbsugeBiC58A", ""},
        {"..X8NBuQ4l6uQ", ""},

makes the self-test pass on this same "problematic" device. Of course, this only hides the problem. Trying to crack 25 other hashes with a corresponding wordlist, still on this same device, resulted in only 12 of them getting cracked. (All 25 are cracked on CPU or when targeting a different AMD GPU in this same machine, with this same driver.) So it looks like this problem is affecting half of the hashes, or half of the candidate passwords (can't tell which it is from these experiments so far).

<!-- gh-comment-id:238833664 --> @solardiz commented on GitHub (Aug 10, 2016): Confirmed. FWIW, the problem is hidden when the last 3 out of the 6 test vectors in opencl_DES_fmt_plug.c are removed. IOW, leaving these: ``` {"CCNf8Sbh3HDfQ", "U*U*U*U*"}, {"CCX.K.MFy4Ois", "U*U***U"}, {"CC4rMpbg9AMZ.", "U*U***U*"}, ``` and removing these: ``` {"XXxzOu6maQKqQ", "*U*U*U*U"}, {"SDbsugeBiC58A", ""}, {"..X8NBuQ4l6uQ", ""}, ``` makes the self-test pass on this same "problematic" device. Of course, this only hides the problem. Trying to crack 25 other hashes with a corresponding wordlist, still on this same device, resulted in only 12 of them getting cracked. (All 25 are cracked on CPU or when targeting a different AMD GPU in this same machine, with this same driver.) So it looks like this problem is affecting half of the hashes, or half of the candidate passwords (can't tell which it is from these experiments so far).
Author
Owner

@magnumripper commented on GitHub (May 9, 2018):

I believe that device is now EOL and (I think) not even supported by recent drivers. Closing.

<!-- gh-comment-id:387869246 --> @magnumripper commented on GitHub (May 9, 2018): I believe that device is now EOL and (I think) not even supported by recent drivers. Closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1379
No description provided.