Improved Heuristics for Short Linear Programs
DOI:
https://doi.org/10.13154/tches.v2020.i1.203-230Keywords:
XOR gate, gate count, linear systems, diffusion matricesAbstract
In this article, we propose new heuristics for minimising the amount of XOR gates required to compute a system of linear equations in GF(2). We first revisit the well known Boyar-Peralta strategy and argue that a proper randomisation process during the selection phases can lead to great improvements. We then propose new selection criteria and explain their rationale. Our new methods outperform state-of-the-art algorithms such as Paar or Boyar-Peralta (or open synthesis tools such as Yosys) when tested on random matrices with various densities. They can be applied to matrices of reasonable sizes (up to about 32 × 32). Notably, we provide a new implementation record for the matrix underlying the MixColumns function of the AES block cipher, requiring only 94 XORs.
Downloads
Published
Issue
Section
License
Copyright (c) 2019 Quan Quan Tan, Thomas Peyrin
This work is licensed under a Creative Commons Attribution 4.0 International License.