Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/scripts/mbedtls_dev/
Dbignum_mod_raw.py130 rep = bignum_common.ModulusRepresentation.INVALID
132 def set_representation(self, r: bignum_common.ModulusRepresentation) -> None: argument
146 def test_cases_for_values(cls, rep: bignum_common.ModulusRepresentation, argument
162 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():
Dbignum_common.py269 class ModulusRepresentation(enum.Enum): class
308 rep: ModulusRepresentation) -> int: argument
310 if rep is ModulusRepresentation.MONTGOMERY:
312 elif rep is ModulusRepresentation.OPT_RED: