Paper 2023/1149
Analysis of Parallel Implementation of Pilsung Block Cipher On Graphics Processing Unit
Abstract
This paper focuses on the GPU implementation of the Pilsung block cipher used in the Red Star 3.0 operating system developed in North Korea. The Pilsung block cipher is designed based on AES. One notable feature of the Pilsung block cipher is that the table calculations required for encryption take longer than the encryption process itself. This paper emphasizes the parallel implementation of the Pilsung block cipher by leveraging the parallel processing capabilities of GPUs and evaluates the performance of the Pilsung block cipher. Techniques for optimization are proposed, including the use of Pinned memory to reduce data transfer time and work distribution between the CPU and GPU. Pinned memory helps optimize data transfer, and work distribution between the CPU and GPU needs to be considered for efficient parallel processing. Performance measurements were performed using the Nvidia GTX 3060 laptop for evaluation, comparing the results of applying Pinned memory usage and work distribution optimization. As a result, optimizing memory transfer costs was found to have a greater impact on performance improvement. When both techniques were applied together, approximately a 1.44 times performance improvement was observed.
Metadata
- Available format(s)
- Category
- Implementation
- Publication info
- Preprint.
- Keywords
- PilsungGPUPinned MemoryParallel ImplementationBlock Cipher
- Contact author(s)
-
shuraatum @ gmail com
khj930704 @ gmail com
smino0906 @ gmail com
hwajeong84 @ gmail com - History
- 2023-07-27: approved
- 2023-07-25: received
- See all versions
- Short URL
- https://ia.cr/2023/1149
- License
-
CC0
BibTeX
@misc{cryptoeprint:2023/1149, author = {Siwoo Eum and Hyunjun Kim and Minho Song and Hwajeong Seo}, title = {Analysis of Parallel Implementation of Pilsung Block Cipher On Graphics Processing Unit}, howpublished = {Cryptology {ePrint} Archive, Paper 2023/1149}, year = {2023}, url = {https://eprint.iacr.org/2023/1149} }