Searched refs:ModulusRepresentation (Results 1 – 2 of 2) sorted by relevance
130 rep = bignum_common.ModulusRepresentation.INVALID132 def set_representation(self, r: bignum_common.ModulusRepresentation) -> None: argument146 def test_cases_for_values(cls, rep: bignum_common.ModulusRepresentation, argument162 if rep is not bignum_common.ModulusRepresentation.MONTGOMERY:168 if rep is not bignum_common.ModulusRepresentation.MONTGOMERY:179 for rep in bignum_common.ModulusRepresentation.supported_representations():
269 class ModulusRepresentation(enum.Enum): class308 rep: ModulusRepresentation) -> int: argument310 if rep is ModulusRepresentation.MONTGOMERY:312 elif rep is ModulusRepresentation.OPT_RED: