Journal of Signal Processing Systems

, Volume 60, Issue 1, pp 31–45 | Cite as

Fast Reconfigurable Elliptic Curve Cryptography Acceleration for GF(2 m ) on 32 bit Processors

  • Aaron E. CohenEmail author
  • Keshab K. Parhi


This paper focuses on the design and implementation of a fast reconfigurable method for elliptic curve cryptography acceleration in GF(2 m ). The main contribution of this paper is comparing different reconfigurable modular multiplication methods and modular reduction methods for software implementation on Intel IA-32 processors, optimizing point arithmetic to reduce the number of expensive reduction operations through a novel reduction sharing technique, and measuring performance for scalar point multiplication in GF(2 m ) on Intel IA-32 processors. This paper determined that systematic reduction is best for fields defined with trinomials or pentanomials; however, for fields defined with reduction polynomials with large Hamming weight Barrett reduction is best. In GF(2571) for Intel P4 2.8 GHz processor, long multiplication with systematic reduction was 2.18 and 2.26 times faster than long multiplication with Barrett or Montgomery reduction. This paper determined that Montgomery Invariant scalar point multiplication with Systematic reduction in Projective coordinates was the fastest method for single scalar point multiplication for the NIST fields from GF(2163) to GF(2571). For single scalar point multiplication on a reconfigurable elliptic curve cryptography accelerator, we were able to achieve ∼6.1 times speedup using reconfigurable reduction methods with long multiplication, Montgomery’s MSB Invariant method in projective coordinates, and systematic reduction. Further extensions were made to implement fast reconfigurable elliptic curve cryptography for repeated scalar point multiplication on the same base point. We also show that for L > 20 the LSB invariant method combined with affine doubling precomputation outperforms the LSB invariant method combined with López-Dahab doubling precomputation for all reconfigurable reduction polynomial techniques in GF(2571) for Intel IA-32 processors. For L = 1000, the LSB invariant scalar point multiplication method was 13.78 to 34.32% faster than using the fastest Montgomery Invariant scalar point multiplication method on Intel IA-32 processors.


Elliptic curve Cryptography Security Finite field Embedded 


  1. 1.
    Miller, V. S. (1986). Use of elliptic curves in cryptography. In Proceedings of the Advances in Cryptology (CRYPTO’85), LNCS (Vol. 218, pp. 417–426).
  2. 2.
    Koblitz, N. (1987). Elliptic curve cryptosystems. Mathematics of Computation, 48, 203–209. Scholar
  3. 3.
    Rivest, R. L., Shamir, A., & Adleman, L. (1978). A method for obtaining digital signatures and public-key cryptosystem. Communications of ACM, 21(2), 120–126.zbMATHCrossRefMathSciNetGoogle Scholar
  4. 4.
    Diffie, W., & Hellman, M. E. (1976). New directions in cryptography. IEEE Transactions on Information Theory, 22(6), 644–654. Scholar
  5. 5.
    National Institute of Standards and Technology (2000). Digital signature standard. FIPS Publication 186-2.
  6. 6.
    IEEE Standard (2000). Specifications for public key cryptography IEEE P1363.
  7. 7.
    Eberle, H., Gura, N., & Chang-Shantz, S. (2003). A cryptographic processor for arbitrary elliptic curves over GF(2m). In Proceedings of the IEEE international conference on application-specific systems, architectures, and processors - ASAP 2003 (pp. 444–454).
  8. 8.
    Wolkerstorfer, J., & Bauer, W. (2002). A PCI-card for accelerating elliptic curve cryptography. In Proceedings of austrochip 2002. Austria: Graz. Scholar
  9. 9.
    Paar, C. (1996). A new architecture for a parallel finite field multiplier with low complexity based on composite fields. IEEE Transactions on Computers, 45(7), 856–861. Scholar
  10. 10.
    Montgomery, P. (1985). Modular multiplication without trial division. Mathematics of Computation, 44(170), 519–521. Scholar
  11. 11.
    Grabbe, C., Bednara, M., Teich, J., von zur Gathen, J., & Shokrollahi, J. (2003). FPGA designs of parallel high performance GF(2233) multipliers. In Proceedings of the 2003 international symposium on circuits and systems—ISCAS 2003 (Vol. 2, pp. 268–271).
  12. 12.
    Koç, Ç. K., & Halbutogullari, A. (1998). A reduction method for multiplication in finite fields. Tech. rep., Electrical and Computer Engineering. Oregon State University.
  13. 13.
    López, J., & Dahab, R. (1999). Fast multiplication on elliptic curves over GF(2m) without precomputation. In The 1st international workshop on cryptographic hardware and embedded systems (CHES’99). LNCS 1717 (pp. 316–327).
  14. 14.
    Cohen, A. E., & Parhi, K. K. (2006). A new side channel resistant scalar point multiplication mehod for binary elliptic curves. In Fortieth annual asilomar conference on signals, systems, and computers (pp. 1205–1209).
  15. 15.
    Bernstein, D. J., & Lange, T. (2007). Faster addition and doubling on elliptic curves. In Proceedings of the 13th international conference on the theory and application of cryptology and information security - asiacrypt 2007. LNCS (Vol. 4833, pp. 29–50).
  16. 16.
    López, J., & Dahab, R. (1998). Improved algorithms for elliptic curve arithmetic in GF(2n). In Selected areas in cryptography (pp. 201–212).Google Scholar
  17. 17.
    Al-Daoud, E., Mahmod, R., Rushdan, M., & Kilicman, A. (2002). A new addition formula for elliptic curves over GF(2n). IEEE Transactions on Computers, 51(8), 972–975. Scholar
  18. 18.
    Lange, T. (2006) A note on López-Dahab coordinates. Tatra Mountains Mathematical Publications, 33, 75–81.zbMATHMathSciNetGoogle Scholar
  19. 19.
    Wollinger, T., Guajardo, J., & Paar, C. (2003). Cryptography in embedded systems: An overview. In Proceedings of the embedded world 2003 exhibition and conference (pp. 18–20).Google Scholar
  20. 20.
    Hankerson, D., Hernandez, J. L., & Menezes, A. (2000). Software implementation of elliptic curve cryptography over binary fields. In Proceedings of the second international workshop on cryptographic hardware and embedded systems CHES 2000 (Vol. 1965, pp. 243–2670).
  21. 21.
    Brickell, E. F., Gordon, D. M., McCurley, K. S., & Wilson, D. B. (1992). Fast exponentiation with precomputation. In Proceedings of the workshop on the theory and application of cryptographic techniques advances in cryptology EUROCRYPT’ 92. LNCS (Vol. 658, pp. 200–207).
  22. 22.
    Song, L., & Parhi, K. K. (1996). Efficient finite field serial/parallel multiplication. In Proceedings of international conference on application specific systems, architectures and processors, ASAP (pp. 72–82).
  23. 23.
    Koç, Ç. K., & Acar, T. (1998). Montgomery mulitplication in GF(2k). Designs, Codes and Cryptography, 14(1), 57–69.zbMATHCrossRefMathSciNetGoogle Scholar
  24. 24.
    Barrett, P. (1987). Implementing the rivest shamir and adleman public key encryption algorithm on a standard digital signal processor. In Proceedings of the advances in cryptology (CRYPTO’86). LNCS (Vol. 263, pp. 311–323).
  25. 25.
    Wu, H. (2002). Montgomery multiplier and squarer for a class of finite fields. IEEE Transactions on Computers, 51(5), 521–529 (2002). Scholar
  26. 26.
    Dhem, J. F. (2003). Efficient modular reduction algorithm in IFq[x] and its application to “Left to Right” modular multiplication in IF2[x]. In Cryptographic hardware and embedded systems - CHES 2003. LNCS (Vol. 2779, pp. 203–213).
  27. 27.
    Intel (2004). Datasheet. Intel pentium 4 processor with 512-kb l2 cache on 0.13 micron process and intel pentium 4 processor extreme edition supporting hyper-threading technology.
  28. 28.
    Cohen, A. E., & Parhi, K. K. (2004). Implementation of scalable elliptic curve cryptosystem crypto-accelerators for GF(2m). In Thirty-eigth annual asilomar conference on signals, systems, and computers (pp. 471–477).
  29. 29.
    Joye, M. (2007). Highly regular right-to-left algorithms for scalar multiplication. In Proceedings or the 9th international workshop on cryptography hardware and embedded systems - CHES 2007. LNCS, 4727 (pp. 135–147).
  30. 30.
    López, J., & Dahab, R. (2000). An overview of elliptic curve cryptography. Tech. rep., Institute of Computing. Brazil: State University of Campinas.Google Scholar

Copyright information

© Springer Science+Business Media, LLC 2009

Authors and Affiliations

  1. 1.University of MinnesotaMinneapolisUSA

Personalised recommendations