diff options
| author | J08nY | 2025-07-29 09:59:28 +0200 |
|---|---|---|
| committer | J08nY | 2025-07-29 09:59:28 +0200 |
| commit | ab5d2d526e11aec106d66c3e292ebe5dd4f4cbf7 (patch) | |
| tree | 2c3576d3fdfb9f2aa559e59764aee7484d85c5df /pyecsca | |
| parent | 839cb94bb7ec2469b3287cfb9943ef03590724a9 (diff) | |
| download | pyecsca-ab5d2d526e11aec106d66c3e292ebe5dd4f4cbf7.tar.gz pyecsca-ab5d2d526e11aec106d66c3e292ebe5dd4f4cbf7.tar.zst pyecsca-ab5d2d526e11aec106d66c3e292ebe5dd4f4cbf7.zip | |
Diffstat (limited to 'pyecsca')
| -rw-r--r-- | pyecsca/sca/re/epa.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyecsca/sca/re/epa.py b/pyecsca/sca/re/epa.py index 14c7206..1f276d9 100644 --- a/pyecsca/sca/re/epa.py +++ b/pyecsca/sca/re/epa.py @@ -2,7 +2,7 @@ Provides functionality inspired by the Exceptional Procedure Attack [EPA]_. """ -from typing import Type, Callable, Literal +from typing import Callable, Literal, Type, Union from public import public @@ -21,7 +21,7 @@ def errors_out( mult_class: Type[ScalarMultiplier], mult_factory: Callable, check_funcs: dict[str, Callable], - check_condition: Literal["all"] | Literal["necessary"], + check_condition: Union[Literal["all"], Literal["necessary"]], precomp_to_affine: bool, ) -> bool: """ |
