bdz_ph does bdz_ph->hl = hash_state_new(bdz_ph->hashfunc, 15); But 15 is not a power-of-two order, it's used directly to do a modulo. So the seed can only be 0..14. There's no real point to do 100 tries, which makes me suspect that value was very much not intended.
bdz_ph does bdz_ph->hl = hash_state_new(bdz_ph->hashfunc, 15); But 15 is not a power-of-two order, it's used directly to do a modulo. So the seed can only be 0..14. There's no real point to do 100 tries, which makes me suspect that value was very much not intended.