Searched refs:round_to_pow2 (Results 1 – 1 of 1) sorted by relevance
216 def round_to_pow2(number): function389 self.num_bits = round_to_pow2(int(math.ceil(math.log(self.modulus, 2))))1392 digest_padding = round_to_pow2(digest_size) - digest_size3233 digest_padding = round_to_pow2(digest_size) - digest_size