Skip to main content
QUICK REVIEW

[Paper Review] Parallel algorithms for SAT in application to inversion problems of some discrete functions

Alexander Semenov, Oleg Zaikin|arXiv (Cornell University)|Feb 17, 2011
Cellular Automata and ApplicationsComputer Science25 references4 citations
TL;DR

This paper presents a parallel SAT-based technology for solving inversion problems of polynomially computable discrete functions, particularly in cryptanalysis. By reducing the inversion problem to SAT and leveraging coarse-grained parallelism through a predictive function, the authors successfully performed the first complete cryptanalysis of the A5/1 keystream generator using a custom Grid system, finding the secret key from just 144 bits of keystream in 16 days of computation.

ABSTRACT

In this article we consider the inversion problem for polynomially computable discrete functions. These functions describe behavior of many discrete systems and are used in model checking, hardware verification, cryptanalysis, computer biology and other domains. Quite often it is necessary to invert these functions, i.e. to find an unknown preimage if an image and algorithm of function computation are given. In general case this problem is computationally intractable. However, many of it's special cases are very important in practical applications. Thus development of algorithms that are applicable to these special cases is of importance. The practical applicability of such algorithms can be validated by their ability to solve the problems that are considered to be computationally hard (for example cryptanalysis problems). In this article we propose the technology of solving the inversion problem for polynomially computable discrete functions. This technology was implemented in distributed computing environments (parallel clusters and Grid-systems). It is based on reducing the inversion problem for the considered function to some SAT problem. We describe a general approach to coarse-grained parallelization for obtained SAT problems. Efficiency of each parallelization scheme is determined by the means of a special predictive function. The proposed technology was validated by successful solving of cryptanalysis problems for some keystream generators. The main practical result of this work is a complete cryptanalysis of keystream generator A5/1 which was performed in a Grid system specially built for this task.

Motivation & Objective

  • To develop a scalable, distributed computing approach for solving hard inversion problems of polynomially computable discrete functions.
  • To enable practical cryptanalysis of stream ciphers like A5/1 using general-purpose computing infrastructures.
  • To demonstrate that secret keys can be recovered from minimal keystream fragments using SAT reduction and parallelization.
  • To validate the efficiency of the method through implementation on both low-performance clusters and a specialized Grid system.

Proposed method

  • Reducing the inversion problem of a discrete function to a Boolean satisfiability (SAT) problem via logical encoding of the function’s computation.
  • Identifying input variables in the SAT formula to enable decomposition into lower-dimensional subproblems.
  • Using a predictive function to optimize decomposition strategies for minimizing overall computation time.
  • Implementing coarse-grained parallelism by distributing subproblems across computing nodes in a cluster or Grid environment.
  • Employing BNB (Branch-and-Bound) SAT solvers to search for satisfying assignments in the decomposed problem space.
  • Constructing a dedicated Grid system (BNB-Grid) to handle the large-scale computation required for A5/1 cryptanalysis.

Experimental results

Research questions

  • RQ1Can the inversion of polynomial-time computable discrete functions be effectively reduced to SAT problems?
  • RQ2How can SAT problems derived from such functions be decomposed efficiently for distributed parallel execution?
  • RQ3Can a predictive function guide decomposition to minimize total computation time in coarse-grained parallelism?
  • RQ4Is it feasible to perform complete cryptanalysis of A5/1 using only a small fragment of keystream in a public-access Grid environment?
  • RQ5How many equivalent keys (collisions) exist for a given keystream fragment in A5/1, and can they be exhaustively enumerated?

Key findings

  • The first complete cryptanalysis of the A5/1 keystream generator was achieved using only 144 bits of keystream, with the secret key recovered in 56 hours on the Grid system.
  • The method successfully identified three distinct secret keys that produce the same 144-bit keystream fragment, confirming the existence of collisions in A5/1.
  • The exhaustive search for all collisions of A5/1 over the first 144 bits of keystream took 16 days of Grid system computation, yielding exactly three solutions.
  • The computational workload varied from 0 to 5,568 cores simultaneously, with an average of 2,000–3,000 cores used across the experiments.
  • The approach enabled successful cryptanalysis of other generators (threshold, summation, Gifford) on a low-performance cluster, validating the method’s general applicability.
  • The results confirm that A5/1 can be cryptanalyzed in public-access computing environments without specialized hardware, challenging its security assumptions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.