Optimized Implementation of PIPO Block Cipher on 32-Bit ARM and RISC-V Processors

被引:1
作者
Kim, Youngbeom [1 ]
Seo, Seog Chung [1 ]
机构
[1] Kookmin Univ, Dept Financial Informat Secur, Seoul 02707, South Korea
基金
新加坡国家研究基金会;
关键词
Ciphers; Internet of Things; Random access memory; Performance evaluation; Optimization; Codes; Reduced instruction set computing; Security; Embedded systems; Pipo; arm-cortex m4; risc-v; efficient implementation; software optimization; internet of things; embedded security; CRYPTOGRAPHY;
D O I
10.1109/ACCESS.2022.3205617
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A lightweight block cipher PIPO-64/128 was presented in ICISC'2020. PIPO of the 8-bit unit using an unbalanced-bridge S-box showed better performance than other lightweight block cipher algorithms on an 8-bit AVR environment. So far, optimization methods for implementing PIPO have been proposed in various environments; however, no optimization research has been conducted for two popular 32-bit based processors: ARM Cortex-M4 and RISC-V. Since RISC-V and ARM Cortex-M series platforms do not support bit-based Single Instruction Multiple Data (SIMD) instructions, several aspects should be considered to apply a forced parallelization strategy. In this article, we discuss the implementation methodology of PIPO for 32-bit RISC-V and ARM Cortex-M4 environments. We optimize the performance of S-Layer via proposed register-scheduling and masking technique while we maintain parallelism to the R-Layer implementation. Moreover, we propose an on-the-fly key scheduling technique for further performance improvement. Finally, compared to the existing reference implementations in RISC-V and ARM Cortex-M4 platforms, when 4 plaintext encrypted simultaneously, our software achieved performance of 229% and 370%, respectively.
引用
收藏
页码:97298 / 97309
页数:12
相关论文
共 43 条
[41]   Efficient Cryptography on the RISC-V Architecture [J].
Stoffelen, Ko .
PROGRESS IN CRYPTOLOGY - LATINCRYPT 2019, 2019, 11774 :323-340
[42]   RISC-V Extension for Lightweight Cryptography [J].
Tehrani, Etienne ;
Graba, Tarik ;
Merabet, Abdelmalek Si ;
Danger, Jean-Luc .
2020 23RD EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD 2020), 2020, :222-228
[43]  
Waterman A., User-Level ISA, VI