/linear-trails-heuristic-search-speck-opencl

CRYPTO - Linear Cryptanalysis of Reduced-Round Speck with a Heuristic Approach: Automatic Search for Linear Trails

Primary LanguageC++MIT LicenseMIT

Automatic heuristic search for linear trails of Speck

In this repository you'll find the source code used for the publication:

  • Bodden, D. (2018, September). Linear cryptanalysis of reduced-round speck with a heuristic approach: Automatic search for linear trails. In International Conference on Information Security (pp. 132-150). Springer, Cham.

How to run

Use the makefile in the Speck blocksize directory as follow:

make than you can run the ./HEURISTIC.

In the folder ~ you find the textfiles with the results.

OSX vs Linux

Change the makefile depending on which operating system you're running the code. Examples are given in the Makefile.