Paper 2022/1159
Decomposing Linear Layers
Abstract
There are many recent results on reverse-engineering (potentially hidden) structure in cryptographic S-boxes. The problem of recovering structure in the other main building block of symmetric cryptographic primitives, namely, the linear layer, has not been paid that much attention so far. To fill this gap, in this work, we develop a systematic approach to decomposing structure in the linear layer of a substitution-permutation network (SPN), covering the case in which the specification of the linear layer is obfuscated from applying secret linear transformations to the S-boxes. We first present algorithms to decide whether an $ms \times ms$ matrix with entries in a prime field $\mathbb{F}_p$ can be represented as an $m \times m$ matrix over the extension field $\mathbb{F}_{p^s}$. We then study the case of recovering structure in MDS matrices by investigating whether a given MDS matrix follows a Cauchy construction. As an application, for the first time, we show that the $8 \times 8$ MDS matrix over $\mathbb{F}_{2^8}$ used in the hash function Streebog is a Cauchy matrix.
Metadata
- Available format(s)
- Category
- Secret-key cryptography
- Publication info
- Published by the IACR in TOSC 2022
- DOI
- 10.46586/tosc.v2022.i4.243-265
- Keywords
- finite field matrix substitution-permutation network MDS Cauchy
- Contact author(s)
-
christof beierle @ rub de
patrick felke @ hs-emden-leer de
gregor leander @ rub de
sondre ronjom @ uib no - History
- 2022-12-07: revised
- 2022-09-06: received
- See all versions
- Short URL
- https://ia.cr/2022/1159
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2022/1159, author = {Christof Beierle and Patrick Felke and Gregor Leander and Sondre Rønjom}, title = {Decomposing Linear Layers}, howpublished = {Cryptology {ePrint} Archive, Paper 2022/1159}, year = {2022}, doi = {10.46586/tosc.v2022.i4.243-265}, url = {https://eprint.iacr.org/2022/1159} }