Home
last modified time | relevance | path

Searched refs:ModulusRepresentation (Results 1 – 2 of 2) sorted by relevance

/third_party/mbedtls/scripts/mbedtls_dev/
Dbignum_mod_raw.py159 rep = bignum_common.ModulusRepresentation.INVALID
161 def set_representation(self, r: bignum_common.ModulusRepresentation) -> None: argument
175 def test_cases_for_values(cls, rep: bignum_common.ModulusRepresentation, argument
191 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():
Dbignum_common.py253 class ModulusRepresentation(enum.Enum): class
292 rep: ModulusRepresentation) -> int: argument
294 if rep is ModulusRepresentation.MONTGOMERY:
296 elif rep is ModulusRepresentation.OPT_RED: