Skip to main content
Top

2023 | OriginalPaper | Chapter

Time-Optimal Design of Finite Field Arithmetic for SIKE on Cortex-M4

Authors : Mila Anastasova, Reza Azarderakhsh, Mehran Mozaffari Kermani

Published in: Information Security Applications

Publisher: Springer Nature Switzerland

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The advances in quantum technologies and the fast move toward quantum computing are threatening classical cryptography and urge the deployment of post-quantum (PQ) schemes. The only isogeny-based candidate forming part of the third round of the standardization, the Supersingular Isogeny Key Encapsulation (SIKE) mechanism, is a subject of constant latency optimizations given its attractive compact key size lengths and, thus, its limited bandwidth and memory requirements. In this work, we present a new speed record of the SIKE protocol by implementing novel low-level finite field arithmetics targeting ARMv7-M architecture. We develop a handcrafted assembly code for the modular multiplication and squaring functions where we obtain 8.71% and 5.38% of speedup, respectively, compared to the last best-reported assembly implementations for p434. After deploying the finite field optimized architecture to the SIKE protocol, we observe 5.63%, 3.93%, 3.48%, and 1.61% of latency reduction for SIKE p434, p503, p610, and p751, respectively, targeting the NIST recommended STM32F407VG discovery board for our experiments.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
2.
go back to reference Anastasova, M., Azarderakhsh, R., Kermani, M.M.: Fast strategies for the implementation of SIKE round 3 on ARM Cortex-M4. IEEE Trans. Circuits Syst. I Regul. Pap. 68(10), 4129–4141 (2021)CrossRef Anastasova, M., Azarderakhsh, R., Kermani, M.M.: Fast strategies for the implementation of SIKE round 3 on ARM Cortex-M4. IEEE Trans. Circuits Syst. I Regul. Pap. 68(10), 4129–4141 (2021)CrossRef
6.
go back to reference Tian, J., Wang, P., Liu, Z., Lin, J., Wang, Z., Groszschaedl, J.: Efficient software implementation of the SIKE protocol using new data representation. IEEE Trans. Comput. 71, 670–683 (2021)CrossRefMATH Tian, J., Wang, P., Liu, Z., Lin, J., Wang, Z., Groszschaedl, J.: Efficient software implementation of the SIKE protocol using new data representation. IEEE Trans. Comput. 71, 670–683 (2021)CrossRefMATH
7.
go back to reference Cheng, H., Fotiadis, G., Groszschädl, J., Ryan, P. Y.: Highly vectorized SIKE for AVX-512. IACR Trans. Cryptographic Hardware Embed. Syst. 2022, 41–68 2022 Cheng, H., Fotiadis, G., Groszschädl, J., Ryan, P. Y.: Highly vectorized SIKE for AVX-512. IACR Trans. Cryptographic Hardware Embed. Syst. 2022, 41–68 2022
8.
go back to reference Koziel, B., Jalali, A., Azarderakhsh, R., Jao, D., Mozaffari-Kermani, M.: NEON-SIDH: efficient implementation of supersingular isogeny Diffie-Hellman key exchange protocol on ARM. In: Foresti, S., Persiano, G. (eds.) CANS 2016. LNCS, vol. 10052, pp. 88–103. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-48965-0_6CrossRef Koziel, B., Jalali, A., Azarderakhsh, R., Jao, D., Mozaffari-Kermani, M.: NEON-SIDH: efficient implementation of supersingular isogeny Diffie-Hellman key exchange protocol on ARM. In: Foresti, S., Persiano, G. (eds.) CANS 2016. LNCS, vol. 10052, pp. 88–103. Springer, Cham (2016). https://​doi.​org/​10.​1007/​978-3-319-48965-0_​6CrossRef
10.
go back to reference Seo, H., Liu, Z., Longa, P., Hu, Z.: SIDH on ARM: faster modular multiplications for faster post-quantum supersingular isogeny key exchange. IACR Trans. Cryptograph. Hardware Embed. Syst. 2018, 1–20 (2018) Seo, H., Liu, Z., Longa, P., Hu, Z.: SIDH on ARM: faster modular multiplications for faster post-quantum supersingular isogeny key exchange. IACR Trans. Cryptograph. Hardware Embed. Syst. 2018, 1–20 (2018)
11.
go back to reference Jalali, A., Azarderakhsh, R., Kermani, M.M., Campagna, M., Jao, D.: ARMv8 SIKE: optimized supersingular isogeny key encapsulation on ARMv8 processors. IEEE Trans. Circuits Syst. I Regul. Pap. 66(11), 4209–4218 (2019)CrossRef Jalali, A., Azarderakhsh, R., Kermani, M.M., Campagna, M., Jao, D.: ARMv8 SIKE: optimized supersingular isogeny key encapsulation on ARMv8 processors. IEEE Trans. Circuits Syst. I Regul. Pap. 66(11), 4209–4218 (2019)CrossRef
12.
go back to reference Seo, H., Sanal, P., Jalali, A., Azarderakhsh, R.: Optimized implementation of SIKE round 2 on 64-bit ARM Cortex-A processors. IEEE Trans. Circuits Syst. I Regul. Pap. 67(8), 2659–2671 (2020)CrossRef Seo, H., Sanal, P., Jalali, A., Azarderakhsh, R.: Optimized implementation of SIKE round 2 on 64-bit ARM Cortex-A processors. IEEE Trans. Circuits Syst. I Regul. Pap. 67(8), 2659–2671 (2020)CrossRef
13.
go back to reference Seo, H., Anastasova, M., Jalali, A., Azarderakhsh, R.: Supersingular isogeny key encapsulation (SIKE) round 2 on ARM Cortex-M4. IEEE Trans. Comput. 70(10), 1705–1718 (2020)CrossRefMATH Seo, H., Anastasova, M., Jalali, A., Azarderakhsh, R.: Supersingular isogeny key encapsulation (SIKE) round 2 on ARM Cortex-M4. IEEE Trans. Comput. 70(10), 1705–1718 (2020)CrossRefMATH
17.
go back to reference Seo, H., Kim, H.: Consecutive operand-caching method for multiprecision multiplication. J. Inf. Commun. Convergence Eng. 13(1), 27–35 (2015)MathSciNet Seo, H., Kim, H.: Consecutive operand-caching method for multiprecision multiplication. J. Inf. Commun. Convergence Eng. 13(1), 27–35 (2015)MathSciNet
20.
go back to reference Anastasova, M., Bisheh-Niasar, M., Seo, H., Azarderakhsh, R., Kermani, M.M.: Efficient and side-channel resistant design of high-security ed448 on arm cortex-m4. In: 2022 IEEE International Symposium on Hardware Oriented Security and Trust (HOST), pp. 93–96, IEEE (2022) Anastasova, M., Bisheh-Niasar, M., Seo, H., Azarderakhsh, R., Kermani, M.M.: Efficient and side-channel resistant design of high-security ed448 on arm cortex-m4. In: 2022 IEEE International Symposium on Hardware Oriented Security and Trust (HOST), pp. 93–96, IEEE (2022)
21.
go back to reference Crockett, E., Paquin, C., Stebila, D.: Prototyping post-quantum and hybrid key exchange and authentication in TLS and SSH. Cryptology ePrint Archive (2019) Crockett, E., Paquin, C., Stebila, D.: Prototyping post-quantum and hybrid key exchange and authentication in TLS and SSH. Cryptology ePrint Archive (2019)
22.
go back to reference Campagna, M., Crockett, E.:Hybrid post-quantum key encapsulation methods (PQ KEM) for transport layer security 1.2 (TLS). Internet Eng. Task Force, Internet-Draft draft-campagna-tls-bike-sike-hybrid, 1 (2019) Campagna, M., Crockett, E.:Hybrid post-quantum key encapsulation methods (PQ KEM) for transport layer security 1.2 (TLS). Internet Eng. Task Force, Internet-Draft draft-campagna-tls-bike-sike-hybrid, 1 (2019)
24.
go back to reference Anastasova, M., Kampanakis, P., Massimo, J.: PQ-HPKE: Post-Quantum Hybrid Public Key Encryption. Cryptology ePrint Archive (2022) Anastasova, M., Kampanakis, P., Massimo, J.: PQ-HPKE: Post-Quantum Hybrid Public Key Encryption. Cryptology ePrint Archive (2022)
26.
go back to reference Kannwischer, M.J., Rijneveld, J., Schwabe, P., Stoffelen, K.: pqm4: testing and benchmarking NIST PQC on ARM Cortex-M4 (2019) Kannwischer, M.J., Rijneveld, J., Schwabe, P., Stoffelen, K.: pqm4: testing and benchmarking NIST PQC on ARM Cortex-M4 (2019)
Metadata
Title
Time-Optimal Design of Finite Field Arithmetic for SIKE on Cortex-M4
Authors
Mila Anastasova
Reza Azarderakhsh
Mehran Mozaffari Kermani
Copyright Year
2023
DOI
https://doi.org/10.1007/978-3-031-25659-2_19

Premium Partner