Pyjamask: Block Cipher and Authenticated Encryption with Highly Efficient Masked Implementation

Authors

  • Dahmun Goudarzi PQShield, Oxford, United Kingdom
  • Jérémy Jean Agence nationale de la sécurité des systèmes d’information (ANSSI), Paris, France
  • Stefan Kölbl Independent
  • Thomas Peyrin School of Physical and Mathematical Sciences Nanyang Technological University, Singapore
  • Matthieu Rivain CryptoExperts, Paris, France
  • Yu Sasaki NTT Secure Platform Laboratories, Tokyo, Japan
  • Siang Meng Sim School of Physical and Mathematical Sciences Nanyang Technological University, Singapore

DOI:

https://doi.org/10.13154/tosc.v2020.iS1.31-59

Keywords:

Block Cipher, Authenticated Encryption, Fast Software Encryption, High-Order Masking, Lightweight Cryptography

Abstract

This paper introduces Pyjamask, a new block cipher family and authenticated encryption proposal submitted to the NIST lightweight cryptography standardization process. Pyjamask targets side-channel resistance as one of its main goal. More precisely, it strongly minimizes the number of nonlinear gates used in its internal primitive in order to allow efficient masked implementations, especially for high-order masking in software. Compared to other block ciphers, our proposal has thus among the smallest number of binary AND computations per input bit at the time of writing. Even though Pyjamask minimizes such an important criterion, it remains rather lightweight and efficient, thanks to a general bitslice construction that enables to computation of all nonlinear gates in parallel. For authenticated encryption, we adopt the provably secure AEAD mode OCB which has been extensively studied and has the benefit to offer full parallelization. Of course, other block cipher-based modes can be considered as well if other performance profiles are to be targeted.
The paper first gives the specification of the Pyjamask block cipher and the associated AEAD proposal. We also provide a detailed design rationale for the block cipher which is guided by our aim of software efficiency in the presence of high-order masking. The security of the design is analyzed against most commonly known cryptanalysis techniques. We finally describe efficient (masked) implementations in software and provide implementation results with aggressive performances for masking of very high orders (up to 128). We also provide a rough estimation of the hardware performances which remain much better than those of an AES round-based implementation.

Downloads

Published

2020-06-22

How to Cite

Goudarzi, D., Jean, J., Kölbl, S., Peyrin, T., Rivain, M., Sasaki, Y., & Sim, S. M. . (2020). Pyjamask: Block Cipher and Authenticated Encryption with Highly Efficient Masked Implementation. IACR Transactions on Symmetric Cryptology, 2020(S1), 31–59. https://doi.org/10.13154/tosc.v2020.iS1.31-59

Issue

Section

Articles