diff options
| author | J08nY | 2025-03-30 17:00:13 +0200 |
|---|---|---|
| committer | J08nY | 2025-03-30 17:00:13 +0200 |
| commit | ad81a388a76ab531fb22e4409cce297580c9981d (patch) | |
| tree | 49a98b54c23d985bfaff9d05c1030c956bc1d9df | |
| parent | 51f0dd7bf448802c4c8651cc54b099e89cc35dec (diff) | |
| download | pyecsca-ad81a388a76ab531fb22e4409cce297580c9981d.tar.gz pyecsca-ad81a388a76ab531fb22e4409cce297580c9981d.tar.zst pyecsca-ad81a388a76ab531fb22e4409cce297580c9981d.zip | |
| -rw-r--r-- | pyecsca/ec/mod/flint.py | 2 |
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: |
