Nexus-TYF / WBMatrix-based-LowMC

An implementation of the LowMC block cipher based on WBMatrix library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WBMatrix based LowMC

An implementation of LowMC block cipher.

Supports for the block size $n=256$, the key size $k=256$, and the number of Sboxes $m\in[1,21]$. The number of rounds $r$ needed to reach the security can be referenced to the source code of LowMC. $m$ and $r$ can be modified in lowmc.h.

The exampled parameter sets for LowMC instantiations are listed in the following table. $d$ is the allowed data complexity of attacks.

$n$ $m$ $k$ $d$ $r$
LowMC v2 256 12 256 128 35
LowMC v3 256 12 256 128 38

Build

$ mkdir build
$ cd build
$ cmake ..
$ make

Run

$ ./LMC

Included libraries

  1. WBMatrix
  2. LowMC

About

An implementation of the LowMC block cipher based on WBMatrix library.

License:Apache License 2.0


Languages

Language:C 99.8%Language:CMake 0.2%