Kalyna
Ukraine's block cipher standard DSTU 7624:2014, supporting 128- to 512-bit blocks
Overview
Kalyna is the Ukrainian national block cipher, standardised as DSTU 7624:2014. Unusually, it supports block sizes of 128, 256 and 512 bits with keys of equal or double length.
Kalyna is an AES-like substitution–permutation network operating on 64-bit columns. Each round applies four different 8-bit S-boxes, a row rotation, an 8x8 MDS column mixing over GF(2^8), and key addition, which alternates between XOR and modular addition. Round counts are 10, 14 or 18 depending on key size. It is the block cipher partner of Kupyna.
NextSSL includes Kalyna variants with block/key sizes 128/256, 256/256, 256/512 and 512/512, plus a default Kalyna entry, all wired from source and not yet verified against DSTU test vectors. Kalyna was selected through a Ukrainian national competition. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.
History
2014–2014Specified in DSTU 7624:2014
Security notes
No practical attacks on full Kalyna are known; cryptanalysis reaches reduced rounds. NextSSL's implementation is unverified.
Typical uses
Variants in NextSSL
5| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Kalyna kalyna |
unverified | key 16 · block 16 | DSTU 7624:2014 (Kalyna) | root |
| Kalyna-128-256 kalyna-128-256 |
unverified | key 32 · block 16 | DSTU 7624:2014 (Kalyna) | root |
| Kalyna-256-256 kalyna-256-256 |
unverified | key 32 · block 32 | DSTU 7624:2014 (Kalyna) | root |
| Kalyna-256-512 kalyna-256-512 |
unverified | key 64 · block 32 | DSTU 7624:2014 (Kalyna) | root |
| Kalyna-512-512 kalyna-512-512 |
unverified | key 64 · block 64 | DSTU 7624:2014 (Kalyna) | root |
Frequently asked questions
Which Kalyna variants does NextSSL include?
NextSSL registers 5 Kalyna variants: kalyna, kalyna-128-256, kalyna-256-256, kalyna-256-512, kalyna-512-512.