[GH-ISSUE #1351] Interleaving bug in sapH #851

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

Originally created by @lei-april on GitHub (May 25, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1351

Originally assigned to: @lei-april on GitHub.

core dump when using an interleaving factor of x8 for SHA512

Originally created by @lei-april on GitHub (May 25, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1351 Originally assigned to: @lei-april on GitHub. core dump when using an interleaving factor of x8 for SHA512
bsakaguchi 2026-10-14 03:25:58 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@magnumripper commented on GitHub (May 25, 2015):

/*
 * Assumption is made that SIMD_COEF_32*SHA1_SSE_PARA is >= than
 * SHA256_COEF*PARA and SHA512_COEF*PARA, and that these other 2
 * will evenly divide the SIMD_COEF_32*SHA1_SSRE_PARA value.
 * Works with current code. BUT if SHA1_SSE_PARA was 3 and
 * SIMD_PARA_SHA256 was 2, then we would have problems.
 */

😢

<!-- gh-comment-id:105315548 --> @magnumripper commented on GitHub (May 25, 2015): ``` C /* * Assumption is made that SIMD_COEF_32*SHA1_SSE_PARA is >= than * SHA256_COEF*PARA and SHA512_COEF*PARA, and that these other 2 * will evenly divide the SIMD_COEF_32*SHA1_SSRE_PARA value. * Works with current code. BUT if SHA1_SSE_PARA was 3 and * SIMD_PARA_SHA256 was 2, then we would have problems. */ ``` :cry:
Author
Owner

@magnumripper commented on GitHub (May 27, 2015):

Fixed in bd32b4b1

<!-- gh-comment-id:106099152 --> @magnumripper commented on GitHub (May 27, 2015): Fixed in bd32b4b1
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#851
No description provided.