DOI QR코드

DOI QR Code

High Speed Implementation of LEA on ARM Cortex-M3 processor

ARM Cortex-M3 프로세서 상에서의 LEA 암호화 고속 구현

  • Received : 2018.05.08
  • Accepted : 2018.05.30
  • Published : 2018.08.31

Abstract

Lightweight Encryption Algorithm (LEA) is one of the most promising lightweight block cipher algorithm due to its high efficiency and security level. There are many works on the efficient LEA implementation. However, many works missed the secure application services where the IoT platforms perform secure communications between heterogeneous IoT platforms. In order to establish the secure communication channel between them, the encryption should be performed in the on-the-fly method. In this paper, we present the LEA implementation performing the on-the-fly method over the ARM Cortex-M3 processors. The general purpose registers are fully utilized to retain the required variables for the key scheduling and encryption operations and the rotation operation is optimized away by using the barrel-shifter technique. Since the on-the-fly method does not store the round keys, the RAM requirements are minimized. The implementation is evaluated over the ARM Cortex-M3 processor and it only requires 34 cycles/byte.

경량 블록암호화 (LEA: Lightweight Encryption Algorithm)는 암호화 연산의 효율성과 높은 보안성으로 인해 국내에서 가장 활발히 사용되고 있는 블록암호화 알고리듬이다. 지금까지 많은 LEA 구현 연구가 진행 되었지만 다양한 플랫폼과의 보안 통신이 필요한 사물인터넷 환경에 활용 가능한 일체형 구현 기법은 제시되고 있지 않다. 본 논문에서는 다양한 플랫폼과 효율적으로 보안 통신이 가능하도록 하는 일체형 구현 기법을 이용하여 LEA를 ARM Cortex-M3 프로세서 상에서 구현한다. 이를 위해 키생성과 암호화 과정에 필요한 인자들을 가용 가능한 레지스터를 이용하여 저장하였으며 바렐쉬프터 (Barrel-shifter)를 활용하여 회전 연산을 최적화하였다. 해당 기법은 라운드키를 저장하지 않기 때문에 저사양 프로세서 상에서 RAM의 사용량을 최소화한다. 구현 결과물은 ARM Cortex-M3 프로세서 상에서 평가되었으며 34 cycles/byte 안에 수행가능함을 확인할 수 있었다.

Keywords

References

  1. D. Hong, J.-K. Lee, D.-C. Kim, D. Kwon, K. H. Ryu, and D. G. Lee, "LEA: A 128-bit block cipher for fast encryption on common processors," In Information Security Applications, WISA 2013, Jeju, pp. 3-27, 2013.
  2. H. Seo, Z. Liu, T. Park, H. Kim, Y. Lee, J. Choi, and H. Kim, "Parallel implementations of LEA," In Information Security and Cryptology, ICISC 2013, Seoul, pp. 256-274, 2013.
  3. H. Seo and H. Kim, "Low-power encryption algorithm block cipher in JavaScript," Journal of information and communication convergence engineering, vol. 12, no. 4, pp. 252-256, Dec. 2014. https://doi.org/10.6109/jicce.2014.12.4.252
  4. H. Seo, Z. Liu, J. Choi, T. Park, and H. Kim, "Compact implementations of LEA block cipher for low-end microprocessors," In Information Security Applications WISA 2015, Jeju, pp. 28-40, 2015.
  5. H. Seo, T. Park, S. Heo, G. Seo, B. Bae, Z. Hu, L. Zhou, Y. Nogami, Y. Zhu, H. Kim, "Parallel Implementations of LEA, Revisted," In Information Security Applications, WISA 2016, Jeju, pp. 318-330, 2016.
  6. H. Seo, "High Speed Implementation of LEA on ARMv8," Journal of the Korea Institute of Information and Communication Engineering, vol. 21, no. 10, pp. 1929-1934, Oct. 2017. https://doi.org/10.6109/JKIICE.2017.21.10.1929
  7. D. A. Osvik, J. W. Bos, D. Stefan, and D. Canright, "Fast software AES encryption," In Fast Software Encryption FSE 2010, Seoul, pp. 75-93, 2010.
  8. H. Seo, I. Jeong, J. Lee, W. Kim, "Compact Implementations of ARX-Based Block Ciphers on IoT Processors," ACM Transactions on Embedded Computing Systems (TECS), vol. 17, no. 3, pp. 1-16, Jun. 2018.
  9. T. Park, H. Seo, H, Kim., "Parallel Implementations of SIMON and SPECK," IEEE International Conference on Platform Technology and Service, Jeju, pp. 1-6, 2016.
  10. V. Sujatha, "Auditing of Storage Security on Encryption," Asia-pacific Journal of Convergent Research Interchange,vol.3, no. 2, pp. 1-9, Jun. 2017,

Cited by

  1. Compact Implementations of HIGHT Block Cipher on IoT Platforms vol.2019, pp.None, 2018, https://doi.org/10.1155/2019/5323578