diff options
Diffstat (limited to 'pyecsca/sca/re/epa.py')
| -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: """ |
