mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #465] Something's wrong with SSE pbkdf2 (in pbkdf2_hmac_sha1.h) #182
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#182
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @magnumripper on GitHub (Jan 5, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/465
Originally assigned to: @jfoug on GitHub.
SSE is slower than non-SSE:
Applying this patch:
...results in this:
@magnumripper commented on GitHub (Jan 5, 2014):
It seems to only be a problem with non-OMP. An OMP build running on just one thread is a whole lot faster.
@magnumripper commented on GitHub (Jan 6, 2014):
This is bad, it affects 14 or so formats, including AIX, DMG, EncFS, OSX keychain, KRB5pa-sha1 but not WPAPSK for some reason.
@magnumripper commented on GitHub (Jan 6, 2014):
Looking at preprocessor output, everything seems OK. Max keys per crypt is 4 (my SHA1_SSE_PARA is 1) and it is the SSE function that's being used. I'm stumped.
Edit: Hm wait a minute. My PARA is 2 but it's 1 in the preprocessed file. But this doesn't really account for that much performance loss, does it?
Edit2: Scrap that, with -march=native I get (4_2) in the preprocessed file from (MMX_COEF_SHA1_SSE_PARA). So everything looks dandy except I don't get the SSE performance I should get! And somehow building with OMP make the problem go away.
@magnumripper commented on GitHub (Jan 6, 2014):
Red Herring, it was a hardware problem. Extremely weird.