Searched refs:_bit_size (Results 1 – 2 of 2) sorted by relevance
717 _bit_size = None variable in PrivateKeyInfo899 if self._bit_size is None:906 self._bit_size = int(math.ceil(math.log(prime, 2)))907 modulus = self._bit_size % 8909 self._bit_size += 8 - modulus910 return self._bit_size1073 _bit_size = None variable in PublicKeyInfo1217 if self._bit_size is None:1219 self._bit_size = int(((len(self['public_key'].native) - 1) / 2) * 8)1225 self._bit_size = int(math.ceil(math.log(prime, 2)))[all …]
135 if bit_size._bit_size is None:137 bit_size = bit_size._bit_size140 self._bit_size = bit_size155 self_bit_size._bit_size = other_bit_size237 self._bit_size = int(m.group('bits')) if m.group('bits') else None240 self._bit_size = None243 assert self._bit_size is None or self._bit_size == 1244 self._bit_size = 1314 self._bit_size = int(m.group('bits')) if m.group('bits') else None318 if self._bit_size is not None:[all …]