Searched refs:to_montgomery (Results 1 – 4 of 4) sorted by relevance
45 return [self.format_result(self.to_montgomery(self.int_a)),46 self.format_result(self.to_montgomery(self.int_b)),52 return [self.format_result(self.to_montgomery(result))]103 mont_result = self.to_montgomery(result)
95 return [self.format_result(self.to_montgomery(self.int_a)),96 self.format_result(self.to_montgomery(self.int_b)),102 return [self.format_result(self.to_montgomery(result))]123 mont_result = self.to_montgomery(result)247 result = self.to_montgomery(self.int_a)
285 def to_montgomery(self, val: int) -> int: member in ModOperationCommon295 return self.to_montgomery(canonical)309 value_a = self.to_montgomery(self.int_a)
765 mont_result = self.to_montgomery(result)