An Efficient Approach to Point-Counting on Elliptic Curves from a Prominent Family over the Prime Field
Abstract
:1. Introduction
- Munuera and Tena proposed to use a general-purpose probabilistic algorithm [7] for finding out the square root of arbitrary quadratic residue modulo p in order to find , where . Their algorithm is of complexity , whereas our proposal for this task improves to complexity due to an efficient targeted method for computing that specific value;
2. Preliminaries
- if , since the order of is then , which in turn gives that ;
- otherwise, the same reasoning implies .
3. Our Approach
3.1. An Explicit Formula for the Order of Elliptic Curve Reduced Modulo p
- In this essential case, it can be easily seen that contains exactly one nonzero summand modulo p, that is, that for . Thus, it holds:
3.2. Computational Aspects of Point-Counting in When p Is a Large Prime
- Step 1. Find a square root of in ;
- Step 2. Find X by applying (partly) the Euclidean algorithm for p and the already found .
4. Example and Efficiency Comparison with the SEA Algorithm
4.1. An Example
- Calculate :
- ∘
- choose a random numberD03CE6183277A6719AD52F362919187D79CA6A50D000975EC4903782F08DAAEB
- ∘
- calculate1AF6F28A07E19B1F1FCCB53D1A166E14092BC3AF668514D3D2ABE80CBD6C0A16
- ∘
- , thus is a square root of in :35EDE5140FC3363E3F996A7A342CDC281257875ECD0A29A7A557D0197AD8142D;
- Find X by applying the Euclidean algorithm for p and the found , and calculate
- FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBDB3CE472111CA9F0DC134D795D6BFFF;
- Calculate and :
- E5090D75F81E64E0E0334AC2E5E991EBF6D43C50997AEB2C2E5427F34293F5EA, 1AF6F28A07E19B1F1FCCB53D1A166E14092BC3AF668514D3D2ABE80CBD6C0A16;
- Calculate the values of expression (3) using and in the role of multiplier , and take their opposites. Finally, we find out the six orders associated with :
- 100000000000000000000000000000001424C31B8DEEE3560F43EEB286A294004, FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBDB3CE472111CA9F0DC134D795D6C000, FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE065220C024EA85B297C0746F361E6B81,
- *
- 100000000000000000000000000000001F9ADDF3FDB157A4D6A3FAB90C9E19483, 100000000000000000000000000000000B761AD86FC2744EC7700D0685FB85481,
- *
- FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF489E527903D8BB138AFF4F97A047AB83.
4.2. Efficiency Comparison with the SEA Algorithm
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
ECC | Elliptic Curve Cryptography |
SEA | Schoof-Elkies-Atkin |
APR-CL | Adleman-Pomerance-Rumely-Cohen-Lenstra |
Appendix A. Derivation of the Expression for H(a,p)
Appendix B. Tables for Comparing the Efficiency
Prime Number (HEX) | |
---|---|
1744AA82FB357A0A99A571EABF8E72B860517859044F993E2606ECAF7BC6CB169 | |
1032FAF22DC31F3E339E3F0CAC8BF44F21B383D3A687A41326A4CC77EAC31D881 | |
19C7E604E23D3DEF8A371353FD8EFA4C9F7503083CD2FCE2EA7FEF1120EC3B3E9 | |
1750F9C8F1490EEDC1B05F0CA012ED4B42925C588AA5FFCC285F84E802EA71C65 | |
161D8802C08AC9AB133B20100B50C4CF1710A7BEDBA3292B56567D996DE3CEF4D | |
1BF6DA0DA929F9784E07C6835AD78389B06CBD5FB776F9F2371AC79B7C7FC1B6D | |
1946A87890B83A015439E75B2BA2C20C9D742E7A85B592815A5D6C11DDACD4695 | |
1819AA8747CF5595260B5A3D7FF8E800DD365E21E26DEBC306F7E48B12C2E2A29 | |
18864DC62E42429367F6826C5F2AAF1401875EA94E1DA3D70DB1BB7D049F90525 | |
1304670800156954405D850ABD3086D0E8AC7B898E4CC9F18000CF2B9087DBD15 |
Test № | Prime | SEA Execution Time (ms) | Our Method Execution Time (ms) |
---|---|---|---|
1 | 829.7 | 12.4 | |
2 | 251.8 | 12.3 | |
3 | 636.4 | 12.2 | |
4 | 430.9 | 11.5 | |
5 | 436.8 | 11.1 | |
6 | 284.7 | 12.3 | |
7 | 355.4 | 10.9 | |
8 | 558.0 | 12.2 | |
9 | 398.1 | 11.1 | |
10 | 393.2 | 11.1 |
References
- Van Tilborg, H. Elliptic curve cryptosystems; too good to be true? Nieuw Arch. Voor Wiskd. 2001, 5, 220–225. [Google Scholar]
- Miller, V.S. Use of elliptic curves in cryptography. In Conference on the Theory and Application of Cryptographic Techniques; Springer: Berlin, Germany, 1985; pp. 417–426. [Google Scholar]
- Koblitz, N. Elliptic curve cryptosystems. Math. Comput. 1987, 48, 203–209. [Google Scholar] [CrossRef]
- Schoof, R. Counting points on elliptic curves over finite fields. J. ThéOrie Des Nombres Bordx. 1995, 7, 219–254. [Google Scholar] [CrossRef]
- Croucher, J.S. Collecting Coupon—A Mathematical Approach. Aust. Sr. Math. J. 2006, 20, 31–35. [Google Scholar]
- Munuera, C.; Tena, J.G. An algorithm to compute the number of points on elliptic curves of j-invariant 0 or 1728 over a finite field. Rend. Del Circ. Mat. Palermo 1993, 42, 106–116. [Google Scholar] [CrossRef]
- Peralta, R. A simple and fast probabilistic algorithm for computing square roots modulo a prime number (Corresp). IEEE Trans. Inf. Theory 1986, 32, 846–847. [Google Scholar] [CrossRef]
- Knuth, D.E. The Art of Computer Programming, Volume 2: Seminumerical Algorithms, 3rd ed.; Addison-Wesley Longman Publishing Co., Inc.: Boston, MA, USA, 1997. [Google Scholar]
- Von zur Gathen, J.; Gerhard, J. Modern Computer Algebra; Cambridge University Press: Cambridge, UK, 2013. [Google Scholar]
- Kırlar, B.B. On the elliptic curves y2 = x3 − c with embedding degree one. J. Comput. Appl. Math. 2011, 235, 4724–4728. [Google Scholar] [CrossRef] [Green Version]
- Ireland, K.; Rosen, M. A Classical Introduction to Modern Number Theory, 2nd ed.; Springer: New York, NY, USA, 1990. [Google Scholar]
- Borissov, Y.; Markov, M. An Approach for Computing the Number of Points on Elliptic Curve y2 = x3 + a (mod p) via Explicit Formula for That Number Modulo p. In Proceedings of the 2019 Ninth International Workshop on Signal Design and Its Applications in Communications (IWSDA), Dongguan, China, 20–24 October 2019; pp. 1–5. [Google Scholar]
- Rosen Kenneth, H. Elementary Number Theory and Its Applications, 6th ed.; Addison-Weley Publishing Company: Boston, MA, USA, 2011. [Google Scholar]
- Hardy, G.; Wright, E.; Heath-Brown, R.; Silverman, J.; Wiles, A. An Introduction to the Theory of Numbers; Oxford University Press: Oxford, UK, 2008. [Google Scholar]
- Washington, L.C. Elliptic Curves: Number Theory and Cryptography; CRC Press: Boca Raton, FL, USA, 2008. [Google Scholar]
- Dickson, L.E. History of the Theory of Numbers: Quadratic and Higher Forms; Courier Corporation: North Chelmsford, MA, USA, 2012; Volume 3. [Google Scholar]
- Bos, J.W.; Halderman, J.A.; Heninger, N.; Moore, J.; Naehrig, M.; Wustrow, E. Elliptic curve cryptography in practice. In International Conference on Financial Cryptography and Data Security; Springer: Berlin, Germany, 2014; pp. 157–175. [Google Scholar]
- Wilker, P. An efficient algorithmic solution of the Diophantine equation u2 + 5v2 = m. Math. Comput. 1980, 35, 1347–1352. [Google Scholar]
- Harvey, D.; Hoeven, J. Integer Multiplication in Time O(nlogn). 2020. Available online: https://hal.archives-ouvertes.fr/hal-02070778v2 (accessed on 7 June 2021).
- Cohen, H. A Course in Computational Algebraic Number Theory; Springer Science & Business Media: New York, NY, USA, 2013; Volume 138. [Google Scholar]
- Silverman, J.H. The Arithmetic of Elliptic Curves; Springer Science & Business Media: New York, NY, USA, 2009; Volume 106. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Borissov, Y.; Markov, M.
An Efficient Approach to Point-Counting on Elliptic Curves from a Prominent Family over the Prime Field
Borissov Y, Markov M.
An Efficient Approach to Point-Counting on Elliptic Curves from a Prominent Family over the Prime Field
Borissov, Yuri, and Miroslav Markov.
2021. "An Efficient Approach to Point-Counting on Elliptic Curves from a Prominent Family over the Prime Field
Borissov, Y., & Markov, M.
(2021). An Efficient Approach to Point-Counting on Elliptic Curves from a Prominent Family over the Prime Field