본문 바로가기
KERD
논문KCI 등재

32-bit RISC-V상에서의 PIPO 경량 블록암호 최적화 구현

Optimized Implementation of PIPO Lightweight Block Cipher on 32-bit RISC-V Processor

1

조회

0

다운로드

0

인용

0

참고문헌

키워드

주제분류컴퓨터학

초록

PIPO 경량 블록암호는 ICISC’20에서 발표된 암호이다. 본 논문에서는 32-bit RISC-V 프로세서 상에서 PIPO 경량 블록암호 ECB, CBC, CTR운용 모드의 단일 블록 최적화 구현과 병렬 최적화 구현을 진행한다. 단일 블록 구현에서는 32-bit 레지스터 상에서 효율적인 8-bit 단위의 Rlayer함수 구현을 제안한다. 병렬 구현에서는 병렬 구현을 위한 레지스터 내부 정렬을 진행하며, 서로 다른 4개의 블록이 하나의 레지스터 상에서Rlayer 함수 연산을 진행하기 위한 방법에 대해 설명한다. 또한 CBC 운용모드의 병렬 구현에서는 암호화 과정에 병렬 구현 기법 적용이 어렵기때문에 복호화 과정에서의 병렬 구현 기법 적용을 제안하며, CTR 운용모드의 병렬 구현에서는 확장된 초기화 벡터를 사용하여 레지스터 내부정렬 생략 기법을 제안한다. 본 논문에서는 병렬 구현 기법이 여러 블록암호 운용모드에 적용 가능함을 보여준다. 결과적으로 ECB 운용모드에서키 스케줄 과정을 포함하고 있는 기존 연구 구현의 성능 대비 단일 블록 구현에서는 1.7배, 병렬 구현에서는 1.89배의 성능 향상을 확인하였다.

Abstract

PIPO lightweight block ciphers were announced in ICISC'20. In this paper, a single-block optimization implementation and paralleloptimization implementation of PIPO lightweight block cipher ECB, CBC, and CTR operation modes are performed on a 32-bit RISC-Vprocessor. A single block implementation proposes an efficient 8-bit unit of Rlayer function implementation on a 32-bit register. Ina parallel implementation, internal alignment of registers for parallel implementation is performed, and a method for four differentblocks to perform Rlayer function operations on one register is described. In addition, since it is difficult to apply the parallelimplementation technique to the encryption process in the parallel implementation of the CBC operation mode, it is proposed toapply the parallel implementation technique in the decryption process. In parallel implementation of the CTR operation mode, anextended initialization vector is used to propose a register internal alignment omission technique. This paper shows that the parallelimplementation technique is applicable to several block cipher operation modes. As a result, it is confirmed that the performanceimprovement is 1.7 times in a single-block implementation and 1.89 times in a parallel implementation compared to the performanceof the existing research implementation that includes the key schedule process in the ECB operation mode.

참고문헌 (9)

  1. "Lightweight Cryptography: Project Overview" (2021)[URL]
  2. H. G. Kim, "A new method for designing lightweight S-Boxes with high differential and linear branch numbers and its application", International Conference on Information Security and Cryptology (ICISC 2020), pp.62~ (2020)
  3. S. W. Eum, "Optimized parallel implementation of Lightweight blockcipher PIPO on 32-bit RISC-V", Proceedings of the Annual Conference of Korea Information Processing Society Conference (KIPS) 2021, 28, pp.201~204 (2021)
  4. The risc-v instruction set manual, volume i: Baseuser-level isa, "A. Waterman", EECS Department, UCBerkeley, ~, pp.UCB (2011), EECS-2011-62 116
  5. "The RISC-V instruction set manual volume I: User-level ISA document version 2.2" (2017)[URL]
  6. R. Pereira, "The ESP CBC-mode cipher algorithms", RFC 2451, ~ (1998)
  7. H. Lipmaa, "CTR-mode encryption", First NIST Workshop on Modes of Operation, 39 (2000)
  8. 곽유진, "32-bit RISC-V 프로세서에서 국산 블록 암호 성능 밴치마킹", 정보보호학회논문지, 31(3), pp.331~340 (2021), 한국정보보호학회[DOI]
  9. Y. J. Kwak, "Parallel implementation of PIPO block cipher on 32-bit RISC-V processor", International Conference on Information Security Applications, pp.183~193 (2021)

관련 논문AI추천

이 간행물의 다른 논문 (3건)