Searched refs:ModulusRepresentation (Results 1 – 2 of 2) sorted by relevance
159 rep = bignum_common.ModulusRepresentation.INVALID161 def set_representation(self, r: bignum_common.ModulusRepresentation) -> None: argument175 def test_cases_for_values(cls, rep: bignum_common.ModulusRepresentation, argument191 if rep is not bignum_common.ModulusRepresentation.MONTGOMERY:197 if rep is not bignum_common.ModulusRepresentation.MONTGOMERY:208 for rep in bignum_common.ModulusRepresentation.supported_representations():
253 class ModulusRepresentation(enum.Enum): class292 rep: ModulusRepresentation) -> int: argument294 if rep is ModulusRepresentation.MONTGOMERY:296 elif rep is ModulusRepresentation.OPT_RED: