Recovering or Testing Extended-Affine Equivalence

Anne Canteaut, Alain Couvreur, Léo Perrin
2/26/2021
cs.CRcs.DMcs.IT

Official code: alaincouvreur/EA_equivalence_for_quadratic_functions (1 star, Python, GPL-3.0, last commit 2022-01-27).

Abstract

Extended Affine (EA) equivalence is the equivalence relation between two vectorial Boolean functions $F$ and $G$ such that there exist two affine permutations $A$, $B$, and an affine function $C$ satisfying $G = A \circ F \circ B + C$. While the problem has a simple formulation, it is very difficult in practice to test whether two functions are EA-equivalent.

Show full abstract

This problem has two variants: {\em EA-partitioning} deals with partitioning a set of functions into disjoint EA-equivalence classes, and \emph{EA-recovery} is about recovering the tuple $(A,B,C)$ if it exists. In this paper, we present a new algorithm that efficiently solves the EA-recovery problem for quadratic functions. Although its worst-case complexity occurs when dealing with APN functions, it supersedes, in terms of performance, all previously known algorithms for solving this problem for all quadratic functions and in any dimension, even in the case of APN functions. This approach is based on the Jacobian matrix of the functions, a tool whose study in this context can be of independent interest. The best approach for EA-partitioning in practice mainly relies on class invariants. We provide an overview of the known invariants along with a new one based on the \emph{ortho-derivative}. This new invariant is applicable to quadratic APN functions, a specific type of functions that is of great interest, and of which tens of thousands need to be sorted into distinct EA-classes. Our ortho-derivative-based invariant is very fast to compute, and it practically always distinguishes between EA-inequivalent quadratic APN functions.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
10PythonFeb 25, 20214 years agoGPL-3.0

Similar Papers

Cite this paper

@article{canteaut2021recovering,
  title  = {Recovering or Testing Extended-Affine Equivalence},
  author = {Anne Canteaut and Alain Couvreur and Léo Perrin},
  year   = {2021},
  eprint = {2103.00078},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.00078}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.00078.svg)](https://codeofpaper.com/paper/2103.00078)

Discussion