diff options
| author | J08nY | 2024-04-16 15:38:09 +0200 |
|---|---|---|
| committer | J08nY | 2024-04-16 15:38:09 +0200 |
| commit | 483eebd0dd4aefb60552e701dfa13d747881dd63 (patch) | |
| tree | fbd62a1678975e6dd7d3595e2ae9a39dc775f363 /pyecsca/ec/params.py | |
| parent | f57762f291bbd0de46c7a7f98135fd3e15827db2 (diff) | |
| download | pyecsca-483eebd0dd4aefb60552e701dfa13d747881dd63.tar.gz pyecsca-483eebd0dd4aefb60552e701dfa13d747881dd63.tar.zst pyecsca-483eebd0dd4aefb60552e701dfa13d747881dd63.zip | |
Fix DeepSourcce issues.
Diffstat (limited to 'pyecsca/ec/params.py')
| -rw-r--r-- | pyecsca/ec/params.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyecsca/ec/params.py b/pyecsca/ec/params.py index c125c3b..db4ed2e 100644 --- a/pyecsca/ec/params.py +++ b/pyecsca/ec/params.py @@ -185,7 +185,7 @@ def _create_params(curve, coords, infty): try: alocals: Dict[str, Union[Mod, int]] = {} compiled = compile(assumption, "", mode="exec") - exec(compiled, None, alocals) + exec(compiled, None, alocals) # exec is OK here, skipcq: PYL-W0122 for param, value in alocals.items(): if params[param] != value: raise_unsatisified_assumption( @@ -226,7 +226,7 @@ def _create_params(curve, coords, infty): ilocals: Dict[str, Union[Mod, int]] = {**params} for line in coord_model.neutral: compiled = compile(line, "", mode="exec") - exec(compiled, None, ilocals) + exec(compiled, None, ilocals) # exec is OK here, skipcq: PYL-W0122 infinity_coords = {} for coordinate in coord_model.variables: if coordinate not in ilocals: |
