[GH-ISSUE #2660] descrypt-opencl per-salt kernels optimization 4096 limit is not working properly #1723

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

Originally created by @ghost on GitHub (Aug 13, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2660

I created the test case for i in `seq 1 95000`; do mkpasswd -m des asd$i; done > ~/testdes.in

#0  0x000000000079dc64 in create_tables (htype=<value optimized out>, loaded_hashes_ptr=<value optimized out>, 
    num_ld_hashes=<value optimized out>, offset_table_ptr=0x7fffffffa090, offset_table_sz_ptr=0x7fffffffa098, 
    hash_table_sz_ptr=0x7fffffffa09c, verb=0) at bt.c:474
#1  create_perfect_hash_table (htype=<value optimized out>, loaded_hashes_ptr=<value optimized out>, num_ld_hashes=<value optimized out>, 
    offset_table_ptr=0x7fffffffa090, offset_table_sz_ptr=0x7fffffffa098, hash_table_sz_ptr=0x7fffffffa09c, verb=0) at bt.c:696
#2  0x0000000000611192 in fill_buffer (salt=<value optimized out>, max_uncracked_hashes=<value optimized out>, max_hash_table_size=0xd1eb04)
    at opencl_DES_bs_plug.c:224
#3  0x0000000000611752 in build_tables (db=<value optimized out>) at opencl_DES_bs_plug.c:423
#4  0x000000000060ca3d in reset (db=0xd64600) at opencl_DES_bs_h_plug.c:667
#5  0x000000000074aee5 in john_run () at john.c:1710
#6  0x000000000074b785 in main (argc=8, argv=0x7fffffffe398) at john.c:1996

See #2655.

Originally created by @ghost on GitHub (Aug 13, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2660 I created the test case ```for i in `seq 1 95000`; do mkpasswd -m des asd$i; done > ~/testdes.in``` ``` #0 0x000000000079dc64 in create_tables (htype=<value optimized out>, loaded_hashes_ptr=<value optimized out>, num_ld_hashes=<value optimized out>, offset_table_ptr=0x7fffffffa090, offset_table_sz_ptr=0x7fffffffa098, hash_table_sz_ptr=0x7fffffffa09c, verb=0) at bt.c:474 #1 create_perfect_hash_table (htype=<value optimized out>, loaded_hashes_ptr=<value optimized out>, num_ld_hashes=<value optimized out>, offset_table_ptr=0x7fffffffa090, offset_table_sz_ptr=0x7fffffffa098, hash_table_sz_ptr=0x7fffffffa09c, verb=0) at bt.c:696 #2 0x0000000000611192 in fill_buffer (salt=<value optimized out>, max_uncracked_hashes=<value optimized out>, max_hash_table_size=0xd1eb04) at opencl_DES_bs_plug.c:224 #3 0x0000000000611752 in build_tables (db=<value optimized out>) at opencl_DES_bs_plug.c:423 #4 0x000000000060ca3d in reset (db=0xd64600) at opencl_DES_bs_h_plug.c:667 #5 0x000000000074aee5 in john_run () at john.c:1710 #6 0x000000000074b785 in main (argc=8, argv=0x7fffffffe398) at john.c:1996 ``` See #2655.
Author
Owner

@solardiz commented on GitHub (May 11, 2019):

Looks unrealistic we'll make relevant changes and properly re-test them on all platforms before the release. Changed milestone.

<!-- gh-comment-id:491512703 --> @solardiz commented on GitHub (May 11, 2019): Looks unrealistic we'll make relevant changes and properly re-test them on all platforms before the release. Changed milestone.
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#1723
No description provided.