International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Achieving a log(n) Speed Up for Boolean Matrix Operations and Calculating the Complexity of the Dense Linear Algebra step of Algebraic Stream Cipher Attacks and of Integer Factorization Methods

Authors:
Gregory V. Bard
Download:
URL: http://eprint.iacr.org/2006/163
Search ePrint
Search Google
Abstract: The purpose of this paper is to calculate the running time of dense boolean matrix operations, as used in stream cipher cryptanalysis and integer factorization. Several variations of Gaussian Elimination, Strassen's Algorithm and the Method of Four Russians are analyzed. In particular, we demonstrate that Strassen's Algorithm is actually slower than the Four Russians algorithm for matrices of the sizes encountered in these problems. To accomplish this, we introduce a new model for tabulating the running time, tracking matrix reads and writes rather than field operations, and retaining the coefficients rather than dropping them. Furthermore, we introduce an algorithm known heretofore only orally, a ``Modified Method of Four Russians'', which has not appeared in the literature before. This algorithm is $\log n$ times faster than Gaussian Elimination for dense boolean matrices. Finally we list rough estimates for the running time of several recent stream cipher cryptanalysis attacks.
BibTeX
@misc{eprint-2006-21656,
  title={Achieving a log(n) Speed Up for Boolean Matrix Operations and Calculating the Complexity of the Dense Linear Algebra step of Algebraic Stream Cipher Attacks and of Integer Factorization Methods},
  booktitle={IACR Eprint archive},
  keywords={secret-key cryptography / Matrix Inversion, Matrix Multiplication, Boolean Matrices, GF(2), Stream Cipher Cryptanalysis, XL Algorithm, Strassen’s Algorithm, Method of Four Russians, Gaussian Elimination, LU-factorization.},
  url={http://eprint.iacr.org/2006/163},
  note={Not yet published. Submitted to a conference. gregory.bard@ieee.org 13273 received 5 May 2006},
  author={Gregory V. Bard},
  year=2006
}