Skip to main content

Masked Implementation of PIPO Block Cipher on 8-bit AVR Microcontrollers

  • Conference paper
  • First Online:
Information Security Applications (WISA 2021)

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%).

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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

    Chapter  Google Scholar 

  2. 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

    Google Scholar 

  3. 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

    Chapter  Google Scholar 

  4. Gross, H., Stoffelen, K., Meyer, L., Krenn, M., Mangard, S.: First-order masking with only two random bits, pp. 10–23, November 2019

    Google Scholar 

  5. 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

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics