journal article·2022-11-30Open access

Parallel Implementations of ARIA on ARM Processors and Graphics Processing Unit

Siwoo Eum, Hyunjun Kim, Hyeokdong Kwon, Minjoo Sim, Gyeongju Song, Hwajeong Seo

Applied Sciences· Volume 12· Issue 23

Abstract

The ARIA block cipher algorithm is Korean standard, IETF standard (RFC 5794), and part of the TLS/SSL protocol. In this paper, we present the parallel implementation of ARIA block cipher on ARMv8 processors and GPU. The ARMv8 processor is the latest 64-bit ARM architecture and supports ASIMD for parallel implementations. With this feature, 4 and 16 parallel encryption blocks are implemented to optimize the substitution layer of ARIA block cipher using four different Sboxes. Compared to previous works, the performance was improved by 2.76× and 8.73× at 4-plaintext and 16-plaintext cases, respectively. We also present optimal implementation on GPU architectures. GPUs are highly parallel programmable processors featuring maximum arithmetic and memory bandwidth. Optimal settings of ARIA block cipher implementation on GPU were analyzed using the Nsight Compute profiler provided by Nvidia. We found that using shared memory reduces the execution timing when performing substitution operations with Sbox tables. When using many threads with shared memory instead of global memory, it improves performance by about 1.08∼1.43×. Additionally, techniques using table expansion to minimize bank conflicts have been found to be inefficient when tables cannot be copied by the size of the bank. We measured the performance of ARIA block ciphers implemented with various settings. This represents an optimized GPU implementation of the ARIA block cipher.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Cryptographic Implementations and Security · Coding theory and cryptography · Chaos-based Image/Signal Encryption

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Division of IT Convergence Engineering, Hansung University, Seoul 02876, Republic of Korea

Funding

Hansung University

References (25)

Show source-provided references
1. Fujii, H., Rodrigues, F.C., and López, J. (2019, January 8–9). Fast AES implementation using ARMv8 ASIMD without cryptography extension. Proceedings of the International Conference on Information Security and Cryptology, Nanjing, China.10.1007/978-3-030-40921-0_5 ↗
2. AES proposal: Rijndael
3. Optimized Implementation of SM4 on AVR Microcontrollers, RISC-V Processors, and ARM Processors
4. Kim, H., Sim, M., Jang, K., Kwon, H., Uhm, S., and Seo, H. (2021). Masked Implementation of Format Preserving Encryption on Low-End AVR Microcontrollers and High-End ARM Processors. Mathematics, 9.10.3390/math9111294 ↗
5. An, S., Kim, Y., Kwon, H., Seo, H., and Seo, S.C. (2020). Parallel implementations of ARX-based block ciphers on graphic processing units. Mathematics, 8.10.3390/math8111894 ↗
6. Optimization of Advanced Encryption Standard on Graphics Processing Units10.1109/ACCESS.2021.3077551 ↗
7. Efficient Implementation of AES-CTR and AES-ECB on GPUs with Applications for High-Speed FrodoKEM and Exhaustive Key Search
8. Kwon, D., Kim, J., Park, S., Sung, S., Sohn, Y., Yeom, Y., Yoon, E., Lee, S., Lee, J., and Chee, S. (December, January 30). New block cipher: ARIA. Proceedings of the International Conference on Information Security and Cryptology, Perth, Australia.
9. Seo, H., Kwon, H., Kim, H., and Park, J. (2020). ACE: ARIA-CTR Encryption for Low-End Embedded Processors. Sensors, 20.10.3390/s20133788 ↗
10. Yang, S., Park, J., and You, Y. (December, January 30). The smallest ARIA module with 16-bit architecture. Proceedings of the International Conference on Information Security and Cryptology, Busan, Republic of Korea.
11. Area efficient implementation of 32-bit architecture of ARIA block cipher using light weight diffusion layer
12. Optimization of ARIA Block-Cipher Algorithm for Embedded Systems with 16-bits Processors
13. A survey on cryptography using optimization algorithms in WSNs10.17485/ijst/2015/v8i3/59585 ↗
14. Seo, H., Kim, H., Jang, K., Kwon, H., Sim, M., Song, G., and Uhm, S. (2021). Compact Implementation of ARIA on 16-Bit MSP430 and 32-Bit ARM Cortex-M3 Microcontrollers. Electronics, 10.10.3390/electronics10080908 ↗
15. Benchmarking Korean block ciphers on 32-bit RISC-V processor
16. Efficient ARIA cryptographic extension to a RISC-V processor
17. (2019, June 26). ARMv8-A Instruction Set Architecture. Available online: https://documentation-service.arm.com/static/613a2c38674a052ae36ca307.
19. GPU accelerated 3DES encryption10.1002/cpe.6507 ↗
20. Fast Implementation of SHA-3 in GPU Environment10.1109/ACCESS.2021.3122466 ↗
21. Acceleration of AES encryption on CUDA GPU
22. High-Speed Implementations of Block Ciphers on Graphics Processing Units Using CUDA Library
23. (2022, August 24). Nsight Compute—NVIDA Documentation Center. Available online: https://docs.nvidia.com/nsight-compute/NsightCompute/index.html.
24. (2022, May 11). CUDA C Programming Guide V6.0. Available online: https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html.
25. Lee, W.K., Goi, B.M., Phan, R.C.W., and Poh, G.S. (2014, January 1–4). High speed implementation of symmetric block cipher on GPU. Proceedings of the 2014 International Symposium on Intelligent Signal Processing and Communication Systems (ISPACS), Sarawak, Malaysia.10.1109/ISPACS.2014.7024434 ↗