[GH-ISSUE #2364] Audit ARCH_WORD in jumbo. #1580

Open
opened 2026-10-15 04:20:40 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @jfoug on GitHub (Dec 15, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2364

github.com/magnumripper/JohnTheRipper@a54420a5ab (commitcomment-20192177)

Remove things which do not 'need' native machine size for performance. Use uint32_t or uint64_t if there are certain areas which require a specific size.

Alignment usage may need to be looked at for speed for data which actually is handled as 4 byte words. Many places use ARCH_WORD for alignment. We need to see if there is any benefit or not (I bet not). also, going to uint32_t in this cases will save memory space (not huge, but some).

Originally created by @jfoug on GitHub (Dec 15, 2016). Original GitHub issue: https://github.com/openwall/john/issues/2364 https://github.com/magnumripper/JohnTheRipper/commit/a54420a5ab7f6b85aeb23e2547dbcd163f2467a1#commitcomment-20192177 Remove things which do not 'need' native machine size for performance. Use uint32_t or uint64_t if there are certain areas which require a specific size. Alignment usage may need to be looked at for speed for data which actually is handled as 4 byte words. Many places use ARCH_WORD for alignment. We need to see if there is any benefit or not (I bet not). also, going to uint32_t in this cases will save memory space (not huge, but some).
Author
Owner

@kholia commented on GitHub (Dec 6, 2017):

@jfoug Can we get this done before the next Jumbo release? ;)

<!-- gh-comment-id:349606666 --> @kholia commented on GitHub (Dec 6, 2017): @jfoug Can we get this done before the next Jumbo release? ;)
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#1580
No description provided.