Advertisement

Improved Modular Multiplication for Optimal Prime Fields

  • Hwajeong Seo
  • Zhe Liu
  • Yasuyuki Nogami
  • Jongseok Choi
  • Howon KimEmail author
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8909)

Abstract

Optimal Prime Fields (OPFs) are considered to be one of the best choices for lightweight elliptic curve cryptography implementation on resource-constraint embedded processors. In this paper, we revisit efficient implementation of the modular arithmetic over the special prime fields, and present improved implementation of modular multiplication for OPFs, called Optimal Prime Field Coarsely Integrated Operand Caching (OPF-CIOC) method. OPF-CIOC method follows the general idea of (consecutive) operand caching technique, but has been carefully optimized and redesigned for Montgomery multiplication in an integrated fashion. We then evaluate the practical performance of proposed method on representative 8-bit AVR processor. Experimental results show that the proposed OPF-CIOC method outperforms the previous best known results in ACNS’14 by a factor of 5 %. Furthermore, our method is implemented in a regular way which helps to reduce the leakage of side-channel information.

Keywords

Montgomery multiplication Optimal prime fields Embedded processors Public key cryptography Operand caching Consecutive operand caching 

References

  1. 1.
    Chu, D., Großschädl, J., Liu, Z., Müller, V., Zhang, Y.: Twisted edwards-form elliptic curve cryptography for 8-bit AVR-based sensor nodes. In: Proceedings of the first ACM workshop on Asia public-key cryptography, pp. 39–44. ACM (2013)Google Scholar
  2. 2.
    Comba, P.G.: Exponentiation cryptosystems on the IBM PC. IBM Syst. J. 29(4), 526–538 (1990)CrossRefGoogle Scholar
  3. 3.
    Großschädl, J., Tinysa: A security architecture for wireless sensor networks. In: Proceedings of the 2006 ACM CoNEXT conference, p. 55. ACM (2006)Google Scholar
  4. 4.
    Großschädl, J., Hudler, M., Koschuch, M., Krüger, M., Szekely, A.: Smart elliptic curve cryptography for smart dust. In: Zhang, X., Qiao, D. (eds.) QShine 2010. LNICST, vol. 74, pp. 623–634. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  5. 5.
    Gura, N., Patel, A., Wander, A., Eberle, H., Shantz, S.C.: Comparing elliptic curve cryptography and RSA on 8-bit CPUs. In: Joye, M., Quisquater, J.-J. (eds.) CHES 2004. LNCS, vol. 3156, pp. 119–132. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  6. 6.
    Hankerson, D., Vanstone, S., Menezes, A.J.: Guide to Elliptic Curve Cryptography. Springer, New York (2004)zbMATHGoogle Scholar
  7. 7.
    Hutter, M., Wenger, E.: Fast multi-precision multiplication for public-key cryptography on embedded microprocessors. In: Preneel, B., Takagi, T. (eds.) CHES 2011. LNCS, vol. 6917, pp. 459–474. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  8. 8.
    Koç, Ç.K., Acar, T., Kaliski Jr., B.S.: Analyzing and comparing montgomery multiplication algorithms. Micro IEEE 16(3), 26–33 (1996)CrossRefGoogle Scholar
  9. 9.
    Liu, Z., Großschädl, J., Kizhvatov, I.: Efficient and side-channel resistant RSA implementation for 8-bit AVR microcontrollers. In: Proceedings of the 1st International Workshop on the Security of the Internet of Things (SECIOT 2010) (2010)Google Scholar
  10. 10.
    Liu, Z., Großschädl, J., Wong, D.S.: Low-weight primes for lightweight elliptic curve cryptography on 8-bit AVR processors. In: Lin, D., Xu, S., Yung, M. (eds.) The 9th China international Conference on Information Security and Cryptology–INSCRYPT 2013. LNCS. Springer, New York (2013)Google Scholar
  11. 11.
    Liu, Z., Großschädl, J.: New speed records for montgomery modular multiplication on 8-Bit AVR microcontrollers. In: Pointcheval, D., Vergnaud, D. (eds.) AFRICACRYPT. LNCS, vol. 8469, pp. 215–234. Springer, Heidelberg (2014)CrossRefGoogle Scholar
  12. 12.
    Liu, Z., Seo, H., Großschädl, J., Kim, H.: Efficient implementation of NIST-compliant elliptic curve cryptography for sensor nodes. In: Qing, S., Zhou, J., Liu, D. (eds.) ICICS 2013. LNCS, vol. 8233, pp. 302–317. Springer, Heidelberg (2013)CrossRefGoogle Scholar
  13. 13.
    Liu, Z., Wenger, E., Großschädl, J.: MoTE-ECC: energy-scalable elliptic curve cryptography for wireless sensor networks. In: Boureanu, I., Owesarski, P., Vaudenay, S. (eds.) ACNS 2014. LNCS, vol. 8479, pp. 361–379. Springer, Heidelberg (2014)CrossRefGoogle Scholar
  14. 14.
    Montgomery, P.L.: Modular multiplication without trial division. Math. Comput. 44(170), 519–521 (1985)CrossRefzbMATHGoogle Scholar
  15. 15.
    Rivest, R.L., Shamir, A., Adleman, L.: A method for obtaining digital signatures and public-key cryptosystems. Commun. ACM 21(2), 120–126 (1978)CrossRefzbMATHMathSciNetGoogle Scholar
  16. 16.
    Scott, M.: Implementing cryptographic pairings. Lect. Notes Comput. Sci. 4575, 177 (2007)Google Scholar
  17. 17.
    Seo, H., Kim, H.: Multi-precision multiplication for public-key cryptography on embedded microprocessors. In: Lee, D.H., Yung, M. (eds.) WISA 2012. LNCS, vol. 7690, pp. 55–67. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  18. 18.
    Walter, C.D., Thompson, S.: Distinguishing exponent digits by observing modular subtractions. In: Topics in Cryptology CT RSA 2001, pp 192–207. Springer (2001)Google Scholar
  19. 19.
    Zhang, Y., Grossschadl, J.: Efficient prime-field arithmetic for elliptic curve cryptography on wireless sensor nodes. In: IEEE International Conference on Computer Science and Network Technology (ICCSNT), vol. 1, pp. 459–466 (2011)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • Hwajeong Seo
    • 1
  • Zhe Liu
    • 2
  • Yasuyuki Nogami
    • 3
  • Jongseok Choi
    • 1
  • Howon Kim
    • 1
    Email author
  1. 1.School of Computer Science and EngineeringPusan National UniversityBusanRepublic of Korea
  2. 2.Laboratory of Algorithmics, Cryptology and Security (LACS)University of LuxembourgLuxembourg-kirchbergLuxembourg
  3. 3.Graduate School of Natural Science and TechnologyOkayama UniversityOkayamaJapan

Personalised recommendations