[GH-ISSUE #1532] sha256crypt-cuda fails self test on super #998

Closed
opened 2026-10-14 03:31:26 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @frank-dittrich on GitHub (Jul 10, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1532

This is with scl enable devtoolset-3 bash, i.e., gcc (GCC) 4.9.1 20140922 (Red Hat 4.9.1-10):

Testing: sha256crypt-cuda, crypt(3) $5$ (rounds=5000) [SHA256 CUDA (inefficient, please use sha256crypt-opencl instead)]... FAILED (cmp_all(7))
Originally created by @frank-dittrich on GitHub (Jul 10, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1532 This is with `scl enable devtoolset-3 bash`, i.e., `gcc (GCC) 4.9.1 20140922 (Red Hat 4.9.1-10)`: ``` Testing: sha256crypt-cuda, crypt(3) $5$ (rounds=5000) [SHA256 CUDA (inefficient, please use sha256crypt-opencl instead)]... FAILED (cmp_all(7)) ```
bsakaguchi 2026-10-14 03:31:26 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@magnumripper commented on GitHub (Jul 10, 2015):

Good you added an issue. It has been broken for quite a while and I kept forgetting about it.

It does work fine on OSX, CUDA v6.5.51

<!-- gh-comment-id:120532956 --> @magnumripper commented on GitHub (Jul 10, 2015): Good you added an issue. It has been broken for quite a while and I kept forgetting about it. It does work fine on OSX, CUDA v6.5.51
Author
Owner

@magnumripper commented on GitHub (Jul 10, 2015):

Still OSX, upgraded to CUDA v7.0.52 (reported as 6.5/7.0) and voila (without recompiling JtR)

Benchmarking: sha256crypt-cuda, crypt(3) $5$ (rounds=5000) [SHA256 CUDA (inefficient, please use sha256crypt-opencl instead)]... FAILED (cmp_all(7))

Re-built JtR from a distclean, still fails.

<!-- gh-comment-id:120533641 --> @magnumripper commented on GitHub (Jul 10, 2015): Still OSX, upgraded to CUDA v7.0.52 (reported as 6.5/7.0) and voila (without recompiling JtR) ``` Benchmarking: sha256crypt-cuda, crypt(3) $5$ (rounds=5000) [SHA256 CUDA (inefficient, please use sha256crypt-opencl instead)]... FAILED (cmp_all(7)) ``` Re-built JtR from a distclean, still fails.
Author
Owner

@magnumripper commented on GitHub (Jul 17, 2015):

I have no idea what's going on here. @ukasz could you have a look at this please?

<!-- gh-comment-id:122440683 --> @magnumripper commented on GitHub (Jul 17, 2015): I have no idea what's going on here. @ukasz could you have a look at this please?
Author
Owner

@magnumripper commented on GitHub (Aug 28, 2015):

Bull, CUDA 5.0/5.5 and Fermi, fails too now. WTF? Did it always?

Super, CUDA 7.0/7.5, fails for both Kepler and Maxwell.

<!-- gh-comment-id:135745014 --> @magnumripper commented on GitHub (Aug 28, 2015): Bull, CUDA 5.0/5.5 and Fermi, fails too now. WTF? Did it always? Super, CUDA 7.0/7.5, fails for both Kepler and Maxwell.
Author
Owner

@magnumripper commented on GitHub (Oct 6, 2015):

Doesn't fail now. Not sure if 06a953ec had anything to do with it.

<!-- gh-comment-id:146025569 --> @magnumripper commented on GitHub (Oct 6, 2015): Doesn't fail now. Not sure if 06a953ec had anything to do with it.
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#998
No description provided.