[PATCH 1/7] bcrypt: Factor out len_from_bitlen() function.