# American Institute of Mathematical Sciences

February  2019, 13(1): 41-66. doi: 10.3934/amc.2019003

## Connecting Legendre with Kummer and Edwards

 1 iCIS Lab, Department of Computer Science, University of Calgary, Canada 2 Applied Statistics Unit, Indian Statistical Institute, 203, B.T. Road, Kolkata, India

* Corresponding author

Received  January 2018 Revised  August 2018 Published  December 2018

Scalar multiplication on suitable Legendre form elliptic curves can be speeded up in two ways. One can perform the bulk of the computation either on the associated Kummer line or on an appropriate twisted Edwards form elliptic curve. This paper provides details of moving to and from between Legendre form elliptic curves and associated Kummer line and moving to and from between Legendre form elliptic curves and related twisted Edwards form elliptic curves. Further, concrete twisted Edwards form elliptic curves are identified which correspond to known Kummer lines at the 128-bit security level which provide very fast scalar multiplication on modern architectures supporting SIMD operations.

Citation: Sabyasachi Karati, Palash Sarkar. Connecting Legendre with Kummer and Edwards. Advances in Mathematics of Communications, 2019, 13 (1) : 41-66. doi: 10.3934/amc.2019003
##### References:

show all references

##### References:
Double and differential addition in the square-only setting
 $\mathsf{dbl}(\mathsf{x}^2,\mathsf{z}^2)$ $\mathsf{diffAdd}(\mathsf{x}_1^2,\mathsf{z}_1^2,\mathsf{x}_2^2,\mathsf{z}_2^2,\mathsf{x}^2,\mathsf{z}^2)$ $\mathsf{s}_0 = \mathsf{B}^2(\mathsf{x}^2+\mathsf{z}^2)^2$; $\mathsf{s}_0 = \mathsf{B}^2(\mathsf{x}_1^2+\mathsf{z}_1^2)(\mathsf{x}_2^2+\mathsf{z}_2^2)$; $\mathsf{t}_0 = \mathsf{A}^2(\mathsf{x}^2-\mathsf{z}^2)^2$; $\mathsf{t}_0 = \mathsf{A}^2(\mathsf{x}_1^2-\mathsf{z}_1^2)(\mathsf{x}_2^2-\mathsf{z}_2^2)$; $\mathsf{x}_3^2 = \mathsf{b}^2(\mathsf{s}_0+\mathsf{t}_0)^2$; $\mathsf{x}_3^2 = \mathsf{z}^2(\mathsf{s}_0+\mathsf{t}_0)^2$; $\mathsf{z}_3^2 = \mathsf{a}^2(\mathsf{s}_0-\mathsf{t}_0)^2$; $\mathsf{z}_3^2 = \mathsf{x}^2(\mathsf{s}_0-\mathsf{t}_0)^2$; return $(\mathsf{x}_3^2,\mathsf{z}_3^2)$. return $(\mathsf{x}_3^2,\mathsf{z}_3^2)$.
 $\mathsf{dbl}(\mathsf{x}^2,\mathsf{z}^2)$ $\mathsf{diffAdd}(\mathsf{x}_1^2,\mathsf{z}_1^2,\mathsf{x}_2^2,\mathsf{z}_2^2,\mathsf{x}^2,\mathsf{z}^2)$ $\mathsf{s}_0 = \mathsf{B}^2(\mathsf{x}^2+\mathsf{z}^2)^2$; $\mathsf{s}_0 = \mathsf{B}^2(\mathsf{x}_1^2+\mathsf{z}_1^2)(\mathsf{x}_2^2+\mathsf{z}_2^2)$; $\mathsf{t}_0 = \mathsf{A}^2(\mathsf{x}^2-\mathsf{z}^2)^2$; $\mathsf{t}_0 = \mathsf{A}^2(\mathsf{x}_1^2-\mathsf{z}_1^2)(\mathsf{x}_2^2-\mathsf{z}_2^2)$; $\mathsf{x}_3^2 = \mathsf{b}^2(\mathsf{s}_0+\mathsf{t}_0)^2$; $\mathsf{x}_3^2 = \mathsf{z}^2(\mathsf{s}_0+\mathsf{t}_0)^2$; $\mathsf{z}_3^2 = \mathsf{a}^2(\mathsf{s}_0-\mathsf{t}_0)^2$; $\mathsf{z}_3^2 = \mathsf{x}^2(\mathsf{s}_0-\mathsf{t}_0)^2$; return $(\mathsf{x}_3^2,\mathsf{z}_3^2)$. return $(\mathsf{x}_3^2,\mathsf{z}_3^2)$.
Scalar multiplication on Kummer line using a ladder
 $\mathsf{scalarMult}(\mathsf{P},n)$ $\mathsf{ladder}(\mathsf{R},\mathsf{S},\mathfrak{b})$ input: $\mathsf{P}\in{\mathcal K}_{\mathsf{a}^2,\mathsf{b}^2}$; if ($\mathfrak{b}=0$) $\ell$-bit scalar $n=(1,n_{\ell-2},\ldots,n_0)$; $\mathsf{S}=\mathsf{diffAdd}(\mathsf{R},\mathsf{S},\mathsf{P})$; output: $n\mathsf{P}$; $\mathsf{R}=\mathsf{dbl}(\mathsf{R})$; set $\mathsf{R}=\mathsf{P}$ and $\mathsf{S}=\mathsf{dbl}(\mathsf{P})$; else for $i=\ell-2,\ell-3,\ldots,0$ do $\mathsf{R}=\mathsf{diffAdd}(\mathsf{R},\mathsf{S},\mathsf{P})$; $(\mathsf{R},\mathsf{S})=\mathsf{ladder}(\mathsf{R},\mathsf{S},n_i)$; $\mathsf{S}=\mathsf{dbl}(\mathsf{S})$; return $(\mathsf{R},\mathsf{S})$. return $(\mathsf{R},\mathsf{S})$.
 $\mathsf{scalarMult}(\mathsf{P},n)$ $\mathsf{ladder}(\mathsf{R},\mathsf{S},\mathfrak{b})$ input: $\mathsf{P}\in{\mathcal K}_{\mathsf{a}^2,\mathsf{b}^2}$; if ($\mathfrak{b}=0$) $\ell$-bit scalar $n=(1,n_{\ell-2},\ldots,n_0)$; $\mathsf{S}=\mathsf{diffAdd}(\mathsf{R},\mathsf{S},\mathsf{P})$; output: $n\mathsf{P}$; $\mathsf{R}=\mathsf{dbl}(\mathsf{R})$; set $\mathsf{R}=\mathsf{P}$ and $\mathsf{S}=\mathsf{dbl}(\mathsf{P})$; else for $i=\ell-2,\ell-3,\ldots,0$ do $\mathsf{R}=\mathsf{diffAdd}(\mathsf{R},\mathsf{S},\mathsf{P})$; $(\mathsf{R},\mathsf{S})=\mathsf{ladder}(\mathsf{R},\mathsf{S},n_i)$; $\mathsf{S}=\mathsf{dbl}(\mathsf{S})$; return $(\mathsf{R},\mathsf{S})$. return $(\mathsf{R},\mathsf{S})$.
Some properties of the group of $\mathbb{F}_p$-rational points of the Legendre form elliptic curves $E_{1a}$, $E_{1b}$, $E_2$ and $E_3$
 $E_{1a}$ $E_{1b}$ $E_2$ $E_3$ $p$ $2^{251}-9$ $2^{251}-9$ $2^{255}-19$ $2^{266}-3$ $(\lg\ell,\lg\ell_T)$ $(248,248)$ $(248,248)$ $(251.4,252)$ $(262.4,263)$ $(h,h_T)$ $(8,8)$ $(8,8)$ $(12,8)$ $(12,8)$ $(k,k_T)$ $\left(\ell-1,\frac{\ell_T-1}{7}\right)$ $\left(\ell-1,\ell_T-1\right)$ $\left(\ell-1,\ell_T-1\right)$ $\left(\frac{\ell-1}{2},\ell_T-1\right)$ $\lg (-D)$ $246.3$ $249.8$ $255$ $266$ $\mathsf{KL}$ base pt $[64:1]$ $[19:1]$ $[31:1]$ $[2:1]$
 $E_{1a}$ $E_{1b}$ $E_2$ $E_3$ $p$ $2^{251}-9$ $2^{251}-9$ $2^{255}-19$ $2^{266}-3$ $(\lg\ell,\lg\ell_T)$ $(248,248)$ $(248,248)$ $(251.4,252)$ $(262.4,263)$ $(h,h_T)$ $(8,8)$ $(8,8)$ $(12,8)$ $(12,8)$ $(k,k_T)$ $\left(\ell-1,\frac{\ell_T-1}{7}\right)$ $\left(\ell-1,\ell_T-1\right)$ $\left(\ell-1,\ell_T-1\right)$ $\left(\frac{\ell-1}{2},\ell_T-1\right)$ $\lg (-D)$ $246.3$ $249.8$ $255$ $266$ $\mathsf{KL}$ base pt $[64:1]$ $[19:1]$ $[31:1]$ $[2:1]$
Conversions from Kummer line to Legendre form elliptic curves and vice versa. Here $\alpha_0 = \mathsf{a}^2$ and $\alpha_1 = \mathsf{b}^2$ are precomputed quantities
 KL to Legendre Legendre to KL $\widehat{\psi}([\mathsf{x}^2:\mathsf{z}^2])$ $\widehat{\psi}^{-1}(X:\cdot:Z)$ $X=\alpha_0\mathsf{z}^2$; $\mathsf{x}^2=\alpha_0(X-Z)$; $t_1=\alpha_1\mathsf{x}^2$; $\mathsf{z}^2=\alpha_1X$; $Z=X-t_1$; return $[\mathsf{x}^2:\mathsf{z}^2]$. return $(X:\cdot:Z)$.
 KL to Legendre Legendre to KL $\widehat{\psi}([\mathsf{x}^2:\mathsf{z}^2])$ $\widehat{\psi}^{-1}(X:\cdot:Z)$ $X=\alpha_0\mathsf{z}^2$; $\mathsf{x}^2=\alpha_0(X-Z)$; $t_1=\alpha_1\mathsf{x}^2$; $\mathsf{z}^2=\alpha_1X$; $Z=X-t_1$; return $[\mathsf{x}^2:\mathsf{z}^2]$. return $(X:\cdot:Z)$.
Base points for $E_{1a}$, $E_{1b}$, $E_2$ and $E_3$ corresponding to $\mathsf{KL}_{1a}$, $\mathsf{KL}_{1b}$, $\mathsf{KL}_{2}$ and $\mathsf{KL}_{3}$
 $p$ $\mathsf{a}^2$ $\mathsf{b}^2$ $[\mathsf{x}^2:\mathsf{z}^2]$ $(x,y)$ $2^{251}-9$ $81$ $20$ $[64:1]$ $(-81/1199,\mathfrak{y}_1)$ $2^{251}-9$ $186$ $175$ $[19:1]$ $(-186/3139,\mathfrak{y}_2)$ $2^{255}-19$ $82$ $77$ $[31:1]$ $(-82/2305,\mathfrak{y}_3)$ $2^{266}-3$ $260$ $139$ $[2:1]$ $(-260/18,\mathfrak{y}_4)$
 $p$ $\mathsf{a}^2$ $\mathsf{b}^2$ $[\mathsf{x}^2:\mathsf{z}^2]$ $(x,y)$ $2^{251}-9$ $81$ $20$ $[64:1]$ $(-81/1199,\mathfrak{y}_1)$ $2^{251}-9$ $186$ $175$ $[19:1]$ $(-186/3139,\mathfrak{y}_2)$ $2^{255}-19$ $82$ $77$ $[31:1]$ $(-82/2305,\mathfrak{y}_3)$ $2^{266}-3$ $260$ $139$ $[2:1]$ $(-260/18,\mathfrak{y}_4)$
Values of $x_1,y_1$ and $x_2$ which are solutions to (24)
 $x_2=0$ $x_1 = \sqrt{\mu}$ $y_1 = \pm\sqrt{-\mu^2 + 2\mu^{3/2} - \mu}$ $x_1 = -\sqrt{\mu}$ $y_1 = \pm\sqrt{-\mu^2 - 2\mu^{3/2} - \mu}$ $x_2=1$ $x_1 = 1 + \sqrt{1-\mu}$ $y_1 = \pm (-1+\mu-\sqrt{1-\mu})$ $x_1 = 1 - \sqrt{1-\mu}$ $y_1 = \pm (-1+\mu+\sqrt{1-\mu})$ $x_2=\mu$ $x_1 = \mu + \sqrt{\mu^2-\mu}$ $y_1 = \pm \left(2\mu^3 + 2\mu^2\sqrt{\mu^2-\mu}-3\mu^2-2\mu\sqrt{\mu^2-\mu}+\mu\right)^{1/2}$ $x_1 = \mu - \sqrt{\mu^2-\mu}$ $y_1 = \pm \left(2\mu^3 - 2\mu^2\sqrt{\mu^2-\mu}-3\mu^2+2\mu\sqrt{\mu^2-\mu}+\mu\right)^{1/2}$
 $x_2=0$ $x_1 = \sqrt{\mu}$ $y_1 = \pm\sqrt{-\mu^2 + 2\mu^{3/2} - \mu}$ $x_1 = -\sqrt{\mu}$ $y_1 = \pm\sqrt{-\mu^2 - 2\mu^{3/2} - \mu}$ $x_2=1$ $x_1 = 1 + \sqrt{1-\mu}$ $y_1 = \pm (-1+\mu-\sqrt{1-\mu})$ $x_1 = 1 - \sqrt{1-\mu}$ $y_1 = \pm (-1+\mu+\sqrt{1-\mu})$ $x_2=\mu$ $x_1 = \mu + \sqrt{\mu^2-\mu}$ $y_1 = \pm \left(2\mu^3 + 2\mu^2\sqrt{\mu^2-\mu}-3\mu^2-2\mu\sqrt{\mu^2-\mu}+\mu\right)^{1/2}$ $x_1 = \mu - \sqrt{\mu^2-\mu}$ $y_1 = \pm \left(2\mu^3 - 2\mu^2\sqrt{\mu^2-\mu}-3\mu^2+2\mu\sqrt{\mu^2-\mu}+\mu\right)^{1/2}$
Summary of the different twisted Edwards form curve. Here b.r. denotes birational equivalence and 2-iso denotes 2-isogeny
 Kummer Legendre twisted Edwards Legendre to twisted Edwards $\mathsf{KL2519}(81,20)$ $E_{1a}$ $\mathsf{Ed}_{1a,1}$ b.r. (Thm 4.4) $\mathsf{Ed}_{1a,2}$ b.r. (Thm 4.4) $\mathsf{KL2519}(186,175)$ $E_{1b}$ $\mathsf{Ed}_{1b,1}$ b.r. (Thm 4.4) $\mathsf{Ed}_{1b,2}$ b.r. (Thm 4.4) $\mathsf{Ed}_{1b,3}$ 2-iso (Thm 4.5) $\mathsf{KL25519}(82,77)$ $E_{2}$ $\mathsf{Ed}_{2}$ 2-iso (Thm 4.5) $\mathsf{KL2663}(260,139)$ $E_{3}$ $\mathsf{Ed}_{3}$ 2-iso (Thm 4.5)
 Kummer Legendre twisted Edwards Legendre to twisted Edwards $\mathsf{KL2519}(81,20)$ $E_{1a}$ $\mathsf{Ed}_{1a,1}$ b.r. (Thm 4.4) $\mathsf{Ed}_{1a,2}$ b.r. (Thm 4.4) $\mathsf{KL2519}(186,175)$ $E_{1b}$ $\mathsf{Ed}_{1b,1}$ b.r. (Thm 4.4) $\mathsf{Ed}_{1b,2}$ b.r. (Thm 4.4) $\mathsf{Ed}_{1b,3}$ 2-iso (Thm 4.5) $\mathsf{KL25519}(82,77)$ $E_{2}$ $\mathsf{Ed}_{2}$ 2-iso (Thm 4.5) $\mathsf{KL2663}(260,139)$ $E_{3}$ $\mathsf{Ed}_{3}$ 2-iso (Thm 4.5)
General $d$
 $A \leftarrow (V_1 - U_1 ) \cdot (V_2 - U_2 )$, $B \leftarrow (V_1 + U_1 ) \cdot (V_2 + U_2 )$, $C \leftarrow (2d) T_1 \cdot T_2$, $D \leftarrow 2W_1 \cdot W_2$, $E \leftarrow B - A$, $F \leftarrow D - C$, $G \leftarrow D + C$, $H \leftarrow B + A$, $U_3 \leftarrow E \cdot F$, $V_3 \leftarrow G \cdot H$, $T_3 \leftarrow E \cdot H$, $W_3 \leftarrow F \cdot G$.
 $A \leftarrow (V_1 - U_1 ) \cdot (V_2 - U_2 )$, $B \leftarrow (V_1 + U_1 ) \cdot (V_2 + U_2 )$, $C \leftarrow (2d) T_1 \cdot T_2$, $D \leftarrow 2W_1 \cdot W_2$, $E \leftarrow B - A$, $F \leftarrow D - C$, $G \leftarrow D + C$, $H \leftarrow B + A$, $U_3 \leftarrow E \cdot F$, $V_3 \leftarrow G \cdot H$, $T_3 \leftarrow E \cdot H$, $W_3 \leftarrow F \cdot G$.
$d = d_1/d_2$ with $d_1,d_2$ small
 $A \leftarrow (V_1 - U_1 ) \cdot (V_2 - U_2 )$, $B \leftarrow (V_1 + U_1 ) \cdot (V_2 + U_2 )$, $C \leftarrow (2d_1) T_1 \cdot T_2$, $D \leftarrow (2d_2) W_1 \cdot W_2$, $E \leftarrow d_2(B - A)$, $F \leftarrow D - C$, $G \leftarrow D + C$, $H \leftarrow d_2(B + A)$, $U_3 \leftarrow E \cdot F$, $V_3 \leftarrow G \cdot H$, $T_3 \leftarrow E \cdot H$, $W_3 \leftarrow F \cdot G$.
 $A \leftarrow (V_1 - U_1 ) \cdot (V_2 - U_2 )$, $B \leftarrow (V_1 + U_1 ) \cdot (V_2 + U_2 )$, $C \leftarrow (2d_1) T_1 \cdot T_2$, $D \leftarrow (2d_2) W_1 \cdot W_2$, $E \leftarrow d_2(B - A)$, $F \leftarrow D - C$, $G \leftarrow D + C$, $H \leftarrow d_2(B + A)$, $U_3 \leftarrow E \cdot F$, $V_3 \leftarrow G \cdot H$, $T_3 \leftarrow E \cdot H$, $W_3 \leftarrow F \cdot G$.
 [1] Rong Dong, Dongsheng Li, Lihe Wang. Regularity of elliptic systems in divergence form with directional homogenization. Discrete & Continuous Dynamical Systems - A, 2018, 38 (1) : 75-90. doi: 10.3934/dcds.2018004 [2] Emmanuel Hebey, Jérôme Vétois. Multiple solutions for critical elliptic systems in potential form. Communications on Pure & Applied Analysis, 2008, 7 (3) : 715-741. doi: 10.3934/cpaa.2008.7.715 [3] M. Matzeu, Raffaella Servadei. A variational approach to a class of quasilinear elliptic equations not in divergence form. Discrete & Continuous Dynamical Systems - S, 2012, 5 (4) : 819-830. doi: 10.3934/dcdss.2012.5.819 [4] David Iglesias-Ponte, Juan Carlos Marrero, David Martín de Diego, Edith Padrón. Discrete dynamics in implicit form. Discrete & Continuous Dynamical Systems - A, 2013, 33 (3) : 1117-1135. doi: 10.3934/dcds.2013.33.1117 [5] Aram L. Karakhanyan. Lipschitz continuity of free boundary in the continuous casting problem with divergence form elliptic equation. Discrete & Continuous Dynamical Systems - A, 2016, 36 (1) : 261-277. doi: 10.3934/dcds.2016.36.261 [6] Andrea Bonfiglioli, Ermanno Lanconelli and Francesco Uguzzoni. Levi's parametrix for some sub-elliptic non-divergence form operators. Electronic Research Announcements, 2003, 9: 10-18. [7] Abbas Bahri. Recent results in contact form geometry. Discrete & Continuous Dynamical Systems - A, 2004, 10 (1&2) : 21-30. doi: 10.3934/dcds.2004.10.21 [8] Vivi Rottschäfer. Multi-bump patterns by a normal form approach. Discrete & Continuous Dynamical Systems - B, 2001, 1 (3) : 363-386. doi: 10.3934/dcdsb.2001.1.363 [9] Gary Lieberman. Nonlocal problems for quasilinear parabolic equations in divergence form. Conference Publications, 2003, 2003 (Special) : 563-570. doi: 10.3934/proc.2003.2003.563 [10] Todor Mitev, Georgi Popov. Gevrey normal form and effective stability of Lagrangian tori. Discrete & Continuous Dynamical Systems - S, 2010, 3 (4) : 643-666. doi: 10.3934/dcdss.2010.3.643 [11] Dario Bambusi, A. Carati, A. Ponno. The nonlinear Schrödinger equation as a resonant normal form. Discrete & Continuous Dynamical Systems - B, 2002, 2 (1) : 109-128. doi: 10.3934/dcdsb.2002.2.109 [12] Tony Lyons. Geophysical internal equatorial waves of extreme form. Discrete & Continuous Dynamical Systems - A, 2019, 39 (8) : 4471-4486. doi: 10.3934/dcds.2019183 [13] Koray Karabina, Berkant Ustaoglu. Invalid-curve attacks on (hyper)elliptic curve cryptosystems. Advances in Mathematics of Communications, 2010, 4 (3) : 307-321. doi: 10.3934/amc.2010.4.307 [14] Xiwang Cao, Hao Chen, Sihem Mesnager. Further results on semi-bent functions in polynomial form. Advances in Mathematics of Communications, 2016, 10 (4) : 725-741. doi: 10.3934/amc.2016037 [15] Sigve Hovda. Closed-form expression for the inverse of a class of tridiagonal matrices. Numerical Algebra, Control & Optimization, 2016, 6 (4) : 437-445. doi: 10.3934/naco.2016019 [16] David Maxwell. Kozlov-Maz'ya iteration as a form of Landweber iteration. Inverse Problems & Imaging, 2014, 8 (2) : 537-560. doi: 10.3934/ipi.2014.8.537 [17] Maria Rosaria Lancia, Valerio Regis Durante, Paola Vernole. Asymptotics for Venttsel' problems for operators in non divergence form in irregular domains. Discrete & Continuous Dynamical Systems - S, 2016, 9 (5) : 1493-1520. doi: 10.3934/dcdss.2016060 [18] Luciano Viana Felix, Marcelo Firer. Canonical- systematic form for codes in hierarchical poset metrics. Advances in Mathematics of Communications, 2012, 6 (3) : 315-328. doi: 10.3934/amc.2012.6.315 [19] Dian Palagachev, Lubomira G. Softova. Quasilinear divergence form parabolic equations in Reifenberg flat domains. Discrete & Continuous Dynamical Systems - A, 2011, 31 (4) : 1397-1410. doi: 10.3934/dcds.2011.31.1397 [20] Virginie De Witte, Willy Govaerts. Numerical computation of normal form coefficients of bifurcations of odes in MATLAB. Conference Publications, 2011, 2011 (Special) : 362-372. doi: 10.3934/proc.2011.2011.362

2018 Impact Factor: 0.879

## Metrics

• HTML views (296)
• Cited by (0)

• on AIMS