diff options
| author | J08nY | 2025-03-11 21:59:17 +0100 |
|---|---|---|
| committer | J08nY | 2025-03-11 21:59:17 +0100 |
| commit | cbeabc60d545dcc29f8ab45e602670d332dc0645 (patch) | |
| tree | bd379f895266d6fcf6e8d3b162bfc0104551517a | |
| parent | 90003215e350b16a43992e72decfe2b15125299e (diff) | |
| download | pyecsca-cbeabc60d545dcc29f8ab45e602670d332dc0645.tar.gz pyecsca-cbeabc60d545dcc29f8ab45e602670d332dc0645.tar.zst pyecsca-cbeabc60d545dcc29f8ab45e602670d332dc0645.zip | |
| -rw-r--r-- | pyecsca/sca/re/rpa.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyecsca/sca/re/rpa.py b/pyecsca/sca/re/rpa.py index 7977102..2ed4339 100644 --- a/pyecsca/sca/re/rpa.py +++ b/pyecsca/sca/re/rpa.py @@ -6,7 +6,7 @@ from copy import copy, deepcopy from functools import lru_cache from public import public -from typing import MutableMapping, Optional, Callable, List, Set, cast, Type, Literal +from typing import MutableMapping, Optional, Callable, List, Set, cast, Type, Literal, Union from sympy import FF, sympify, Poly, symbols @@ -399,7 +399,7 @@ def multiples_computed( mult_factory: Callable, use_init: bool = False, use_multiply: bool = True, - kind: Literal["all"] | Literal["input"] | Literal["necessary"] = "all", + kind: Union[Literal["all"], Literal["input"], Literal["necessary"]] = "all", ) -> set[int]: """ Compute the multiples computed for a given scalar and multiplier (quickly). |
