mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2070] Build warning for pbkdf2_hmac_common_plug.c #1388
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#1388
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 (Mar 2, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2070
I currently get this for a vanilla linux 64-bit AVX2 build:
This must be from some recent commit.
@jfoug commented on GitHub (Mar 2, 2016):
It is, I simply have not gotten time to look into it. The common code includes ALL of the pbkdf2 hashes, in oSSL mode. There is supposed to be a define GPU_BUILD or something that allows suppression of that function being included (the SIMD stuff). I thought I had added it to sha512, but I must not have, or most have missed the commit.
@magnumripper commented on GitHub (Mar 2, 2016):
Not sure I understand the issue. Since this is a common object file, it should contain SIMD code even for GPU builds, no?
@jfoug commented on GitHub (Mar 2, 2016):
Nope. The warning is 'static' function not used. We use these to fully validate 'likely' hits in cmp_exact. In the formats, many of them only crack 'part' of the hash (usually 1 limb deep). So the key may be 64 bytes, but we only get 32 of them. Then in cmp_exact, we have 1 password, and 1 salt. We do the full test, using oSSL logic, to fully validate. The SIMD code is not used. So if it is included, you get that warning. Using SIMD vs oSSL gains nothing when you are testing just a single value, ALSO, cmp_exact calls should be considered rare anyway.