Lines Matching refs:bits
55 # the minimum of bits required to mount the attack on a hash
59 # of entries the number of mask bits can be higher
61 my $bits = $keys ? log($keys)/log(2) : 0;
62 $bits = $min_bits if $min_bits > $bits;
64 $bits = int($bits) < $bits ? int($bits) + 1 : int($bits);
65 # need to add 2 bits to cover the internal split cases
66 $bits += 2;
67 my $mask = 2**$bits-1;
68 print "# using mask: $mask ($bits)\n";