Paper 2015/894

Comparison of cube attacks over different vector spaces

Richard Winter, Ana Salagean, and Raphael C. -W. Phan


We generalise the cube attack of Dinur and Shamir (and the similar AIDA attack of Vielhaber) to a more general higher order differentiation attack, by summing over an arbitrary subspace of the space of initialisation vectors. The Moebius transform can be used for efficiently examining all the subspaces of a big space, similar to the method used by Fouque and Vannet for the usual cube attack. Secondly we propose replacing the Generalised Linearity Test proposed by Dinur and Shamir with a test based on higher order differentiation/ Moebius transform. We show that the proposed test provides all the information provided by the Generalised Linearity Test, at the same computational cost. In addition, for functions that do not pass the linearity test it also provides, at no extra cost, an estimate of the degree of the function. This is useful for guiding the heuristics for the cube/AIDA attacks. Finally we implement our ideas and test them on the stream cipher Trivium.

Available format(s)
Publication info
Published elsewhere. LNCS IMACC 2015 Conference Proceedings
CubeAIDA attackTriviumLinearity testingMoebius transformhigher order di&#64256erentiation
Contact author(s)
R Winter @ lboro ac uk
2015-09-15: received
Short URL
Creative Commons Attribution


      author = {Richard Winter and Ana Salagean and Raphael C. -W.  Phan},
      title = {Comparison of cube attacks over different vector spaces},
      howpublished = {Cryptology ePrint Archive, Paper 2015/894},
      year = {2015},
      note = {\url{}},
      url = {}
Note: In order to protect the privacy of readers, does not use cookies or embedded third party content.