Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Latest commit

 

History

History
15 lines (10 loc) · 1.06 KB

README.md

File metadata and controls

15 lines (10 loc) · 1.06 KB

Kalyna block cipher reference implementation

Build Status

The Kalyna block cipher was selected during Ukrainian National Public Cryptographic Competition (2007-2010) and its slight modification was approved as the new encryption standard of Ukraine in 2015. Main requirements for Kalyna were both high security level and high performance of software implementation on general-purpose 64-bit CPUs. The cipher has SPN-based (Rijndael-like) structure with increased MDS matrix size, a new set of four different S-boxes, pre- and postwhitening using modulo 2^{64} addition and a new construction of the key schedule. Kalyna supports block size and key length of 128, 256 and 512 bits (key length can be either equal or double of the block size).

Reference implementation of the Kalyna block cipher (DSTU 7624:2014), all block and key length variants

Usage

Run tests for different size and keys

make test