aboutsummaryrefslogtreecommitdiff
path: root/pyecsca
diff options
context:
space:
mode:
Diffstat (limited to 'pyecsca')
-rw-r--r--pyecsca/ec/mod/flint.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/pyecsca/ec/mod/flint.py b/pyecsca/ec/mod/flint.py
index 3436953..69e29f4 100644
--- a/pyecsca/ec/mod/flint.py
+++ b/pyecsca/ec/mod/flint.py
@@ -111,8 +111,6 @@ if has_flint:
if self.x == 0:
return FlintMod(self._ctx(0), self._ctx, ensure=False)
- if not self.is_residue():
- raise_non_residue()
return square_root_inner(self, self._ctx, lambda x: FlintMod(x, self._ctx, ensure=False))
def is_cubic_residue(self) -> bool: