-
-
Notifications
You must be signed in to change notification settings - Fork 646
Description
As reported in #34303 comment:25, EllipticCurveHom_velusqrt
accidentally computes an irrational isogeny for curves defined over GF(3)
with 7
rational points. The reason is that the computation internally requires a point lying outside the kernel, which only in this one specific case will be defined over a cubic instead of a quadratic extension. This in turn implies the linear factors in the numerator of the isogeny won't match up in conjugate pairs, causing the problem.
Quick fix: Simply restrict the implementation to degrees ≥ 9
. Since the older EllipticCurveIsogeny
implementation is much faster for degrees this small anyway, this restriction won't be a problem for any remotely realistic code.
CC: @antonio-rojas
Component: elliptic curves
Author: Lorenz Panny
Branch/Commit: 467eda5
Reviewer: Kwankyu Lee
Issue created by migration from https://trac.sagemath.org/ticket/34467