English

A Complete algorithm for local inversion of maps: Application to Cryptanalysis

Cryptography and Security 2022-01-24 v2

Abstract

For a map (function) F(x):\ftwon\ftwonF(x):\ftwo^n\rightarrow\ftwo^n and a given yy in the image of FF the problem of \emph{local inversion} of FF is to find all inverse images xx in \ftwon\ftwo^n such that y=F(x)y=F(x). In Cryptology, such a problem arises in Cryptanalysis of One way Functions (OWFs). The well known TMTO attack in Cryptanalysis is a probabilistic algorithm for computing one solution of local inversion using O(N)O(\sqrt N) order computation in offline as well as online for N=2nN=2^n. This paper proposes a complete algorithm for solving the local inversion problem which uses linear complexity for a unique solution in a periodic orbit. The algorithm is shown to require an offline computation to solve a hard problem (possibly requiring exponential computation) and an online computation dependent on yy that of repeated forward evaluation F(x)F(x) on points xx in \ff2n\ff_{2^n} which is polynomial time at each evaluation. However the forward evaluation is repeated at most as many number of times as the Linear Complexity of the sequence {y,F(y),}\{y,F(y),\ldots\} to get one possible solution when this sequence is periodic. All other solutions are obtained in chains {e,F(e),}\{e,F(e),\ldots\} for all points ee in the Garden of Eden (GOE) of the map FF. Hence a solution xx exists iff either the former sequence is periodic or a solution occurs in a chain starting from a point in GOE. The online computation then turns out to be polynomial time O(Lk)O(L^k) in the linear complexity LL of the sequence to compute one possible solution in a periodic orbit or O(l)O(l) the chain length for a fixed nn. Hence this is a complete algorithm for solving the problem of finding all rational solutions xx of the equation F(x)=yF(x)=y for a given yy and a map FF in \ff2n\ff_{2^n}.

Cite

@article{arxiv.2105.07332,
  title  = {A Complete algorithm for local inversion of maps: Application to Cryptanalysis},
  author = {Virendra Sule},
  journal= {arXiv preprint arXiv:2105.07332},
  year   = {2022}
}

Comments

31 pages

R2 v1 2026-06-24T02:08:54.229Z