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 条
  • [1] Adomnicai A., 2020, Trans. Cryptogr. Hardw. Embed. Syst, V2021, P402, DOI [10.46586/tches.v2021.i1.402-425, DOI 10.46586/TCHES.V2021.I1.402-425]
  • [2] Adomnicai A., 2020, IACR Trans. Cryptogr. Hardw. Embed. Syst., P402, DOI [10.13154/tches.v2020.i3.402-427, DOI 10.13154/TCHES.V2020.I3.402-427]
  • [3] GIFT: A Small Present Towards Reaching the Limit of Lightweight Encryption
    Banik, Subhadeep
    Pandey, Sumit Kumar
    Peyrin, Thomas
    Sasaki, Yu
    Sim, Siang Meng
    Todo, Yosuke
    [J]. CRYPTOGRAPHIC HARDWARE AND EMBEDDED SYSTEMS - CHES 2017, 2017, 10529 : 321 - 345
  • [4] Midori: A Block Cipher for Low Energy
    Banik, Subhadeep
    Bogdanov, Andrey
    Isobe, Takanori
    Shibutani, Kyoji
    Hiwatari, Harunaga
    Akishita, Toru
    Regazzoni, Francesco
    [J]. ADVANCES IN CRYPTOLOGY - ASIACRYPT 2015, PT II, 2015, 9453 : 411 - 436
  • [5] RoadRunneR: A Small and Fast Bitslice Block Cipher for Low Cost 8-Bit Processors
    Baysal, Adnan
    Sahin, Suhap
    [J]. LIGHTWEIGHT CRYPTOGRAPHY FOR SECURITY AND PRIVACY, LIGHTSEC 2015, 2016, 9542 : 58 - 76
  • [6] Beaulieu R., 2014, INT WORKSHOP LIGHTWE, P3
  • [7] The SIMON and SPECK lightweight block ciphers
    Beaulieu, Ray
    Shors, Douglas
    Smith, Jason
    Treatman-Clark, Stefan
    Weeks, Bryan
    Wingers, Louis
    [J]. 2015 52ND ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2015,
  • [8] SKINNY-AEAD and SKINNY-Hash
    Beierle, Christof
    Jean, Jeremy
    Kolbl, Stefan
    Leander, Gregor
    Moradi, Amir
    Peyrin, Thomas
    Sasaki, Yu
    Sasdrich, Pascal
    Sim, Siang Meng
    [J]. IACR TRANSACTIONS ON SYMMETRIC CRYPTOLOGY, 2020, 2020 : 88 - 131
  • [9] CRAFT: Lightweight Tweakable Block Cipher with Efficient Protection Against DFA Attacks
    Beierle, Christof
    Leander, Gregor
    Moradi, Amir
    Rasoolzadeh, Shahram
    [J]. IACR TRANSACTIONS ON SYMMETRIC CRYPTOLOGY, 2019, 2019 (01) : 5 - 45
  • [10] Bogdanov A, 2007, LECT NOTES COMPUT SC, V4727, P450