Code to count monomials of several rounds of Pyjamask

DOI

The result ons the number of monomials are obtained by running the code.Abstract from [Dobraunig, C., Rotella, Y., & Schoone, J. (2020). Algebraic and Higher-Order Differential Cryptanalysis of Pyjamask-96. IACR Transactions on Symmetric Cryptology, 2020(1), 289-312. DOI: https://doi.org/10.13154/tosc.v2020.i1.289-312]Cryptographic competitions, like the ongoing NIST call for lightweight cryptography, always provide a thriving research environment, where new interesting ideas are proposed and new cryptographic insights are made.One proposal for this NIST call that is accepted for the second round is Pyjamask.Pyjamask is an authenticated encryption scheme that builds upon two block ciphers, Pyjamask-96 and Pyjamask-128, that aim to minimize the number of AND operations at the cost of a very strong linear layer.A side-effect of this goal is a slow growth in the algebraic degree.In this paper, we focus on the block cipher Pyjamask-96 and are able to provide a theoretical key-recovery attack reaching 14 (out of 14) rounds as well as a practical attack on 8 rounds.We do this by combining higher-order differentials with an in-depth analysis of the system of equations gotten for 2.5 rounds of Pyjamask-96.The AEAD-scheme Pyjamask itself is not threatened by the work in this paper.In order to obtain the theoretical results for the key-recovery attack on 14 rounds, we needed to compute the number of monomials that would be present in the aforementioned system of equations.The deposited code is specifically written with this cipher and goal in mind.It is therefore usable to recheck the results indicated in Section 6.3 of the paper.Furthermore, one can adapt the code to compute the number of monomials present is a similar system of equations for a different cipher.

Identifier
DOI https://doi.org/10.17026/dans-zt2-jzbe
Metadata Access https://phys-techsciences.datastations.nl/oai?verb=GetRecord&metadataPrefix=oai_datacite&identifier=doi:10.17026/dans-zt2-jzbe
Provenance
Creator J.J.P. Schoone; C.E. Dobraunig; Y. Rotella
Publisher DANS Data Station Phys-Tech Sciences
Contributor RU Radboud University
Publication Year 2021
Rights CC BY 4.0; info:eu-repo/semantics/openAccess; http://creativecommons.org/licenses/by/4.0
OpenAccess true
Contact RU Radboud University
Representation
Resource Type Dataset
Format text/plain; application/zip; text/x-python
Size 1750; 17288; 5659; 1087
Version 2.0
Discipline Other