Closed danroc closed 6 months ago
This PR ensures that the arrays bucket_size and bitsliced_even_states are long enough to fit all bit-sliced blocks by rounding up the division (task[4]-task[3])/MAX_BITSLICES.
bucket_size
bitsliced_even_states
(task[4]-task[3])/MAX_BITSLICES
Fixes: https://github.com/aczid/crypto1_bs/issues/47
Thanks for finding and fixing this.
This PR ensures that the arrays
bucket_size
andbitsliced_even_states
are long enough to fit all bit-sliced blocks by rounding up the division(task[4]-task[3])/MAX_BITSLICES
.Fixes: https://github.com/aczid/crypto1_bs/issues/47