Abstract
PIPO is a lightweight block cipher and shows better performance than other block cipher algorithms on low-end microcontrollers (e.g. 8-bit AVR). In addition, PIPO block cipher can utilize the efficient masking method by minimizing the number of non-linear operations. Therefore, PIPO block cipher can prevent side-channel attacks, efficiently. In this paper, we propose an efficient first-order masking technique using a 2-byte random mask by taking an advantage of PIPO block cipher. We present a new OR operation masking technique. Among functions of PIPO, the masked S-layer with 23 AND operations, 5 OR operations, and 46 XOR operations is used. Operations of PIPO block cipher are implemented in AVR assembly languages. The proposed implementation showed 1.5\(\times \) faster performance enhancements compared to the unprotected C implementation in the encryption process and 2.2\(\times \) faster performance enhancements compared to the unprotected optimized assembly implementation.
This work was partly supported by Institute for Information & communications Technology Promotion (IITP) grant funded by the Korea government (MSIT) (No. 2018-0-00264, Research on Blockchain Security Technology for IoT Services, 25%) and this work was partly supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. NRF-2020R1F1A1048478, 25%) and this work was partly supported by Institute of Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) (No. 2021-0-00540, Development of Fast Design and Implementation of Cryptographic Algorithms based on GPU/ASIC, 25%) and this work was partly supported by Institute for Information & communications Technology Planning & Evaluation (IITP) grant funded by the Korea government (MSIT) (<Q|Crypton>, No. 2019-0-00033, Study on Quantum Security Evaluation of Cryptography based on Computational Quantum Complexity, 25%).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Kim, H., et al.: PIPO: a lightweight block cipher with efficient higher-order masking software implementations. In: Hong, D. (ed.) ICISC 2020. LNCS, vol. 12593, pp. 99–122. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-68890-5_6
Tian, Q., O’neill, M., Hanley, N.: Can leakage models be more efficient? Non-linear models in side channel attacks. In: 2014 IEEE International Workshop on Information Forensics and Security, WIFS 2014, pp. 215–220, April 2015
Ishai, Y., Sahai, A., Wagner, D.: Private circuits: securing hardware against probing attacks. In: Boneh, D. (ed.) CRYPTO 2003. LNCS, vol. 2729, pp. 463–481. Springer, Heidelberg (2003). https://doi.org/10.1007/978-3-540-45146-4_27
Gross, H., Stoffelen, K., Meyer, L., Krenn, M., Mangard, S.: First-order masking with only two random bits, pp. 10–23, November 2019
Prouff, E.: DPA attacks and S-Boxes. In: Gilbert, H., Handschuh, H. (eds.) FSE 2005. LNCS, vol. 3557, pp. 424–441. Springer, Heidelberg (2005). https://doi.org/10.1007/11502760_29
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Kim, H. et al. (2021). Masked Implementation of PIPO Block Cipher on 8-bit AVR Microcontrollers. In: Kim, H. (eds) Information Security Applications. WISA 2021. Lecture Notes in Computer Science(), vol 13009. Springer, Cham. https://doi.org/10.1007/978-3-030-89432-0_14
Download citation
DOI: https://doi.org/10.1007/978-3-030-89432-0_14
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-89431-3
Online ISBN: 978-3-030-89432-0
eBook Packages: Computer ScienceComputer Science (R0)