DOI QR코드

DOI QR Code

Measurements of Encryption and Decryption Times of AES and LEA Algorithms on an Arduino MCU

아두이노를 이용한 AES와 LEA의 암복호화 속도 측정

  • Kwon, Yeongjun (School of Electronic and Electrical Engineering, Hongik University) ;
  • Shin, Hyungsik (School of Electronic and Electrical Engineering, Hongik University)
  • Received : 2019.09.05
  • Accepted : 2019.09.26
  • Published : 2019.09.30

Abstract

This paper presents an experimental result showing the encryption and decryption times of the AES and LEA algorithms. AES and LEA algorithms are international and Korean standards for block ciphers, respectively. Through experiments, this paper investigates the applicability of the LEA algorithm for light weight IoT devices. In order to measure the encryption and decryption times, 256-bit and 128-bit secret keys were randomly generated for AES and LEA, respectively. Under our test environment using an Arduino microcontroller, the AES algorithm takes about 45ms for encryption and decryption processes, whereas the LEA algorithm takes about 4ms. Even though processing times of each algorithm may vary much under different implementation and test environments, this experimental result shows that the LEA algorithm can be applied to many light weight IoT devices for security goals.

본 논문에서는 국제 표준 블록 암호 AES와 국산 표준 경량 블록 암호인 LEA의 암복호화 속도를 비교 실험한 결과를 소개하고, LEA의 사물인터넷 기기 통신에의 활용 가능성을 확인한다. 두 암호 알고리즘의 속도 측정을 위하여, AES의 경우는 256비트의 무작위 생성 비밀키를, LEA의 경우는 128비트의 무작위 생성 비밀키를 이용하여 암복호화를 수행하였다. 아두이노를 이용한 실험을 진행한 결과, 256비트 비밀키 AES 알고리즘의 경우 암복호화에 약 45ms가 소모되었고, LEA의 경우 128비트 비밀키에 대하여 암복호화에 약 4ms가 소모되었다. 알고리즘 구현 방식과 실험 환경에 따라 속도 차이는 매우 다양할 수 있으나, 본 실험 결과를 통하여 LEA 알고리즘은 경량 에너지 환경을 요구하는 사물인터넷 기기의 보안 알고리즘으로서 충분히 고려해볼 만하다는 것을 확인하였다.

Keywords

References

  1. Morris J. Dworkin, Elaine B. Barker, James R. Nechvatal, James Foti, Lawrence E. Bassham, E. Roback, James F. Dray Jr, "Advanced Encryption Standard (AES)," Federal Information Processing Standards (FIPS)-197, 2001. DOI: 10.6028/NIST.FIPS.197
  2. Hong, D., Lee, J.K., Kim, D. C., Kwon, D., Ryu, K. H. and Lee, D. G., "LEA: A 128-bit block cipher for fast encryption on common processors," International Workshop on Information Security Applications, pp. 3-27, 2013. DOI: 10.1007/978-3-319-05149-9_1
  3. NSR, "Block chiper LEA Specification," https://seed.kisa.or.kr/kisa/skill/EgovLeaInfo.do
  4. KISA(KOREA INTERNET & SECURITY AGENCY) and Ministry of Science, ICT and Future Planning, "A Guide to the Use of Cryptographic Technology in the Internet of Things(IoT)," https://www.kisa.or.kr/public/laws/laws3_View.jsp?mode=view&p_No=259&b_No=259&d_No=84
  5. qistoph, "ArduinoAES256," https://github.com/qistoph/ArduinoAES256
  6. Frank Kagan Gurkaynak, "GALS System Design: Side Channel Attack Secure Cryptographic Accelerators" Doctoral Dissertation, ETH Zurich, 2006. https://iis-people.ee.ethz.ch/-kgf/acacia/c3.html
  7. ARDUINO, "ARDUINO UNO REV3", https://media.digikey.com/pdf/Data%20Sheets/Arduino%20PDFs/A000066_Web.pdF