DOI QR코드

DOI QR Code

Implementation and performance evaluation of PIPO lightweight block ciphers on the web

웹상에서의 PIPO 경량 블록암호 구현 및 성능 평가

  • Lim, Se-Jin (Division of IT Convergence Engineering, Hansung University) ;
  • Kim, Won-Woong (Division of IT Convergence Engineering, Hansung University) ;
  • Kang, Yea-Jun (Division of IT Convergence Engineering, Hansung University) ;
  • Seo, Hwa-Jeong (Division of IT Convergence Engineering, Hansung University)
  • Received : 2022.03.17
  • Accepted : 2022.04.12
  • Published : 2022.05.31

Abstract

PIPO is the latest domestic lightweight block cipher announced in ICISC'20, which is characterized by being lightweight to facilitate implementation on IoT with limited resources. In this paper, PIPO 64/128-bit and 64/256-bit were implemented using web-based languages such as Javascript and WebAsembly. Two methods of performance evaluation were conducted by implementing bitsice and TLU, and the performance was compared by implementing Looped written using for statements and Unrolled written for statements. It performs performance evaluations in various web browsers such as Google Chrome, Mozilla Firefox, Opera, and Microsoft Edge, as well as OS-specific environments such as Windows, Linux, Mac, iOS, and Android. In addition, a performance comparison was performed with PIPO implemented in C language. This can be used as an indicator for applying PIPO block cipher on the web.

PIPO는 ICISC'20에서 발표된 최신 국산 경량 블록암호로, 리소스가 제한된 IoT 상에서 구현하기 용이하도록 경량화 되어있다는 특징이 있다. 본 논문에서는 자바스크립트(Javascript), 웹어셈블리(WebAssembly)와 같은 웹 기반 언어를 사용하여 PIPO 64/128비트, 64/256비트를 구현하였다. PIPO의 비트슬라이스(BitSlice)와 TLU를 구현하여 성능평가를 진행하였으며 for문을 사용하여 작성한 일반 루프(Looped)와 for문을 풀어 작성한 루프 풀기(Unrolled)도 구현하여 성능을 비교했다. Google Chrome, Mozilla Firefox, Opera, Microsoft Edge와 같은 다양한 웹 브라우저와 윈도우즈, Linux, Mac, iOS, 안드로이드와 같은 OS별 다양한 환경에서 성능평가를 수행한다. 또한 C언어로 구현된 PIPO와 성능 비교도 수행하였다. 이는 웹상에서의 PIPO 블록암호 적용을 위한 지표로 사용될 수 있다.

Keywords

Acknowledgement

This work was partly supported by Institute for Information & communications Technology Promotion (IITP) grant funded by the Korea government (MSIT) (No.2018-0-00264, Research on Blockchain Security Technology for IoT Services, 30%) and this work was supported by Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) (No.2021-0-00540, Development of Fast Design and Implementation of Cryptographic Algorithms based on GPU/ASIC, 30%) and this work was supported by the National Research Foundation of Korea(NRF) grant funded by the Korea government(MSIT) (No. NRF-2020R1F1A 1048478, 30%). This research was financially supported by Hansung University for Hwajeong Seo.

References

  1. S. -C. Kang, J. -S. Park, "Security issues in HTML5's next generation web standard environment," Review of KIISC, vol. 24, no. 4, pp. 44-55, Aug. 2014
  2. S. J. Yoon, J. H. Jung, and H. K. Kim, "A study on JavaScript-based attack techniques using HTML5," Journal of The Korea Institute of Information Security and Cryptology, vol. 25, no. 5, pp. 74-80, Oct. 2015
  3. H. G. Kim, Y. J. Jeon, G. Y. Kim, J. S. Kim, B. -Y. Sim, D. -G. Han, H. J. Seo, S. G. Kim, S. H. Hong, J. C. Sung, and D. J. Hong, "PIPO: A Lightweight Block Cipher with Efficient Higher-Order Masking Software Implementations," in International Conference on Information Security and Cryptology, Seoul, South Korea, vol. 12593, pp. 99-122, 2020
  4. J. S. Kim, S. G. Kim, S. Y. Kim, D. J. Hong, J. C. Sung, and S. H. Hong, "MILP-Aided Division Property and Integral Attack on Lightweight Block Cipher PIPO," Journal of the Korea Institute of Information Security & Cryptology, vol. 31, no. 5, pp. 875-888, Oct. 2021 https://doi.org/10.13089/JKIISC.2021.31.5.875
  5. S. W. Eum, H. D. Kwon, H. J. Kim, K. B. Jang, H. J. Kim, J. H. Park, G. J. Song, M. J. Sim, and H. J. Seo, "Optimized Implementation of Block Cipher PIPO in Parallel-Way on 64-bit ARM Processors," KIPS Transactions on Computer and Communication Systems, vol. 10, no. 8, pp. 223-230, Aug. 2021 https://doi.org/10.3745/KTCCS.2021.10.8.223
  6. Y. J. Kwak, Y. B. Kim, and S. C. Seo, "Benchmarking Korean Block Ciphers on 32-Bit RISC-V Processor," Journal of the Korea Institute of Information Security & Cryptology, vol. 31, no. 3, pp. 331-340, Jun. 2021 https://doi.org/10.13089/JKIISC.2021.31.3.331
  7. J. G. Song, Y. B. Kim, and S. C. Seo, "High-Speed Fault Attack Resistant Implementation of PIPO Block Cipher on ARM Cortex-A," Institute of Electrical and Electronics Engineers, vol. 9, pp. 162893-162908, Dec. 2021
  8. H. J. Kim, M. J. Sim, S. W. Eum, K. B. Jang, G. J. Song, H. J. Kim, H. D. Kwon, W. -K. Lee, and H. J. Seo, "Masked Implementation of PIPO Block Cipher on 8-bit AVR Microcontrollers," in Information Security Applications: 22nd International Conference, Jeju Island, South Korea, vol. 13009, pp. 171-182, 2021
  9. I. Y. Kim, B. J. Seok, and C. H. Lee, "A Study of Fast Implementation of Korea Block Ciphers PIPO, HIGHT, and CHAM," Journal of Digital Contents Society, vol. 22, no. 12, pp. 2063-2075, Dec. 2021 https://doi.org/10.9728/dcs.2021.22.12.2063
  10. K. B. Jang, G. J. Song, H. D. Kwon, S. W. Uhm, H. J. Kim, W. -K. Lee, and H. J. Seo, "Grover on PIPO," Electronics 2021, vol. 10, no. 10, May. 2021
  11. H. J. Seo and H. W. 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
  12. A. Haas, A. Rossberg, D. L. Schuff, B. L. Titzer, M. Holman, D. Gohman, L. Wagner, A. Zakai, and J. Bastien, "Bringing the web up to speed with WebAssembly," in Proceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation, Barcelona, Spain, pp. 185-200, 2017
  13. C. Rebeiro, D. Selvakumar, and A. S. L. Devi, "Bitslice Implementation of AES," in International Conference on Cryptology and Network Security, Suzhou, China, vol. 4301, pp. 203-212, 2006
  14. W. Zhang, Z. Bao1, D. Lin, V. Rijmen, B. Yang, and I. Verbauwhede, "RECTANGLE: A Bit-slice Lightweight Block Cipher Suitable for Multiple Platforms," Science China Information Sciences, vol. 58, pp. 1-15, Nov. 2015
  15. E. Stark, M. Hamburg, and D. Boneh, "Symmetric Cryptography in Javascript," in 2009 Annual Computer Security Applications Conference, Honolulu: HI, USA,pp. 373-381, 2009
  16. C. H. Park, T. H. Park, H. J. Seo, and H. W. Kim, "Optimization of CHAM Encryption Algorithm Based on Javascript," in 2018 Tenth International Conference on Ubiquitous and Future Networks, Prague, Czech Republic, pp. 774-778, 2018