Paper 2023/1149

Analysis of Parallel Implementation of Pilsung Block Cipher On Graphics Processing Unit

Siwoo Eum, Hansung University
Hyunjun Kim, Hansung University
Minho Song, Hansung University
Hwajeong Seo, Hansung University
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)
PDF
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
No rights reserved
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},
      note = {\url{https://eprint.iacr.org/2023/1149}},
      url = {https://eprint.iacr.org/2023/1149}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.