diff options
| author | J08nY | 2024-01-25 18:59:49 +0100 |
|---|---|---|
| committer | J08nY | 2024-01-25 18:59:49 +0100 |
| commit | cbfcfb3433dd6030db5a253d291985706bd0dc9a (patch) | |
| tree | d32f144ed048d2803af554e53a893dc4aebfcb4d /pyecsca/ec/curve.py | |
| parent | 340dd4e7cfa9a1075d1c33936ed9884234744a31 (diff) | |
| download | pyecsca-cbfcfb3433dd6030db5a253d291985706bd0dc9a.tar.gz pyecsca-cbfcfb3433dd6030db5a253d291985706bd0dc9a.tar.zst pyecsca-cbfcfb3433dd6030db5a253d291985706bd0dc9a.zip | |
Diffstat (limited to 'pyecsca/ec/curve.py')
| -rw-r--r-- | pyecsca/ec/curve.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyecsca/ec/curve.py b/pyecsca/ec/curve.py index c952bd9..6762724 100644 --- a/pyecsca/ec/curve.py +++ b/pyecsca/ec/curve.py @@ -80,7 +80,7 @@ class EllipticCurve: ) except NameError: k = FF(self.prime) - assumption_string = unparse(assumption) + assumption_string = unparse(assumption).strip() lhs, rhs = assumption_string.split(" = ") expr = sympify(f"{rhs} - {lhs}") for curve_param, value in self.parameters.items(): |
