Kupyna
Ukraine's national hash standard, DSTU 7564:2014, an AES-like wide-pipe design
Overview
Kupyna is the Ukrainian national hash function standardised as DSTU 7564:2014. It supports outputs from 8 to 512 bits and shares its round structure with the Kalyna block cipher.
Kupyna's compression function is modelled on Grøstl: two distinct AES-like permutations, T⊕ and T+, are applied to the chaining value XOR the message and to the message alone, and their outputs are combined. The state is 512 bits for outputs up to 256 bits and 1024 bits for longer outputs, making it a wide-pipe design. A final output transformation truncates the state.
The rounds use four 8-bit S-boxes, row rotation and MDS column mixing like Kalyna. NextSSL carries a Kupyna entry wired from source; which output lengths are exposed follows the implementation and has not yet been verified against DSTU test vectors. Kupyna-256 and Kupyna-512 are the most commonly cited instances, and the standard also defines a keyed MAC mode.
History
2014–2014Adopted as Ukrainian standard DSTU 7564:2014
Security notes
Published cryptanalysis reaches reduced-round versions only, and no practical attack on full Kupyna is known. Outside Ukrainian compliance it has limited deployment and tooling.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Kupyna kupyna |
unverified | out 28–64 | DSTU 7564:2014 (Kupyna) | root |
Frequently asked questions
Which Kupyna variants does NextSSL include?
NextSSL registers 1 Kupyna variant: kupyna.