Browse > Article
http://dx.doi.org/10.13089/JKIISC.2022.32.1.1

Implementation of Fixslicing AES-CTR Speed Optimized Using Pre-Computed on 32-Bit RISC-V  

Eum, Si-Woo (Hansung University)
Kim, Hyun-Jun (Hansung University)
Sim, Min-Joo (Hansung University)
Song, Gyeong-Ju (Hansung University)
Seo, Hwa-Jeong (Hansung University)
Abstract
Fixslicing AES is a technique that omits the Shiftrows step to minimize the cost of the linear layer of Bitsliced AES, showing a 30% performance over the Bitsliced technique. However, the amount of code increases to compensate for the omitted shiftrows. Therefore, it is proposed to be divided into Semi-Fixsliced in which only half of shiftrows are omitted and Fully-Fixsliced in which Shiftrows are omitted completely. In this paper, we propose a CTR mode implementation of Fixslicing AES on RISC-V using the pre-computed table technique. By utilizing the characteristics of the CTR mode, it is possible to perform fast encryption by omitting up to the second round SubBytes from the encryption process through pre-computed up to the second round SubBytes operation. Using this technique, it was confirmed that Semi-Fixsliced has a performance of 1,345 cycles per block and a performance improvement of 7% compared to the previous performance result, and Fully-Fixsliced has a performance of 1,283 cycles per block and a performance of 9% compared to the previous performance result on 32-bit RISC-V.
Keywords
AES; CTR; Fixslice; Optimized implementation; RISC-V;
Citations & Related Records
Times Cited By KSCI : 1  (Citation Analysis)
연도 인용수 순위
1 P.Schwabe and K.Stoffelen, "All the AES You Need on Cortex-M3 and M4," In Selected Areas in Cryptography, pp. 180-194, Aug. 2016.
2 A.Adomnicai and T.Peyrin, "Fixslicing AES-like ciphers: New bitsliced AES speed records on ARM-Cortex M and RISC-V," IACR-ePrint 2020-1123, Oct. 2020.
3 C.Rebeiro D.Selvakumar and A.S.L. Devi, "Bitslice Implementation of AES," CANS 2006: Cryptology and Network Security, pp. 203-212, Dec. 2006.
4 W.Diffie and M.Hellman. "Privacy and Authentication: An Introduction to Cryptography," Proceedings of the IEEE, pp. 397-427, Dec. 1979.
5 A. Waterman, Y.Lee, D.Patterson, and K. Asanovi'c, "The risc-vinstruction set manual, volume i: Baseuser-level isa," UCB/EECS-2011-62 116, UCBerkeley Tech., May. 2011.
6 A. Waterman and K.Asanovi'c, "The RISC-V Instruction Set Manual Volume I: User-Level ISA Document Version 2.2," UCBerkeley Tech., May. 2017.
7 J.Daemen and V.Rijmen, "Reijndael: The Advanced Encryption Standard," Dr. Dobb's Journal, Mar. 2002.