[GH-ISSUE #675] ripemd-128 doesn't unify hashes #327

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

Originally created by @frank-dittrich on GitHub (Jun 26, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/675

Reason: ripemd-128 and ripemd-160 are implemented in the same sourcefile, but reuse functions and macro definitions that should be separate
(BINARY_SIZE / COMPARE_SIZE).
So, ripemd-160 only tests the first 128 bits in cmp_one, and ripemd-128's prepare doesn't unify hashes.

Originally created by @frank-dittrich on GitHub (Jun 26, 2014). Original GitHub issue: https://github.com/openwall/john/issues/675 Reason: ripemd-128 and ripemd-160 are implemented in the same sourcefile, but reuse functions and macro definitions that should be separate (BINARY_SIZE / COMPARE_SIZE). So, ripemd-160 only tests the first 128 bits in cmp_one, and ripemd-128's prepare doesn't unify hashes.
bsakaguchi 2026-10-14 03:01:25 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@magnumripper commented on GitHub (Jun 26, 2014):

It sounds like a patch very similar to b3eab54556 (for haval) is needed.

Frank, please always assign a label (in this case 'bug') when opening issues. If at all applicable.

<!-- gh-comment-id:47266276 --> @magnumripper commented on GitHub (Jun 26, 2014): It sounds like a patch very similar to b3eab545565 (for haval) is needed. Frank, please always assign a label (in this case 'bug') when opening issues. If at all applicable.
Author
Owner

@frank-dittrich commented on GitHub (Jun 26, 2014):

On 06/26/2014 09:06 PM, magnum wrote:

Frank, please always assign a label (in this case 'bug') when opening issues. If at all applicable.

Apparently, I can't, because I'm not a contributor.

https://stackoverflow.com/questions/13829466/how-to-put-a-label-on-an-issue-in-github

<!-- gh-comment-id:47277576 --> @frank-dittrich commented on GitHub (Jun 26, 2014): On 06/26/2014 09:06 PM, magnum wrote: > Frank, please always assign a label (in this case 'bug') when opening issues. If at all applicable. Apparently, I can't, because I'm not a contributor. https://stackoverflow.com/questions/13829466/how-to-put-a-label-on-an-issue-in-github
Author
Owner

@magnumripper commented on GitHub (Jun 26, 2014):

Apparently, I can't, because I'm not a contributor.

Actually I was wondering the other day why you are not. It also means you can't be assigned to an issue. I have some vague memory that you do not want to commit directly but nothing stops us from having you as a collaborator but you keep making pull requests if you wish. I'll add you right now.

<!-- gh-comment-id:47292971 --> @magnumripper commented on GitHub (Jun 26, 2014): > Apparently, I can't, because I'm not a contributor. Actually I was wondering the other day why you are not. It also means you can't be assigned to an issue. I have some vague memory that you do not want to commit directly but nothing stops us from having you as a collaborator but you keep making pull requests if you wish. I'll add you right now.
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#327
No description provided.