Hyena-V2
Hybrid-feedback GIFT-128 mode with a half-block state overhead; NIST LWC round 2
Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About Hyena-V2
Hyena-V2 is one of 2 HyENA variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 16-byte (128-bit) key, a 12-byte nonce and a 16-byte (128-bit) authentication tag. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
HyENA is a lightweight authenticated cipher that uses a hybrid feedback mode with GIFT-128, keeping the state to roughly 1.5 blocks. It was a second-round candidate in the NIST Lightweight Cryptography process.
The mode is similar in spirit to COFB, but its feedback mixes plaintext and ciphertext halves so that fewer masking operations are needed, saving hardware area. It processes one 128-bit block per GIFT-128 call and authenticates and encrypts in a single pass.
NextSSL includes HyENA version 1 and the revised version 2. Both versions use a 128-bit key and tag and a 96-bit nonce. Second-round candidates were evaluated by NIST on security, hardware and software performance and side-channel properties; ten were chosen as finalists in 2021, and Ascon was selected in 2023.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectHyENA published
56 round-1 candidates accepted; 32 advance to round 2 in August
NIST Lightweight Cryptography projectTen finalists announced
NIST Lightweight Cryptography projectAscon selected as the lightweight standard
NIST Lightweight Cryptography projectAscon published in NIST SP 800-232
NIST Lightweight Cryptography project
Security notes
Requires unique nonces. Version 2 revised the mode during the competition; prefer hyena-v2.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 12 | Nonce / IV |
| tag | 16 | Authentication tag |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
key, nonce = root.random(16), root.random(12)
ct = root.call("aead_seal", "hyena-v2", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "hyena-v2", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("hyena-v2", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("hyena-v2", NULL, key, nonce, aad, ct, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_aead_in(reg::all(), Policy::Any, "hyena-v2", &Params::new())?;
let ct = alg.seal(&key, &nonce, b"header", b"secret")?;
let pt = alg.open(&key, &nonce, b"header", &ct)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other HyENA variants
1More authenticated encryption
All 392Frequently asked questions
What is Hyena-V2?
Hyena-V2 is an AEAD in the HyENA family. HyENA is a lightweight authenticated cipher that uses a hybrid feedback mode with GIFT-128, keeping the state to roughly 1.5 blocks.
What are the Hyena-V2 sizes?
In NextSSL, Hyena-V2 uses: key 16 bytes, nonce 12 bytes, tag 16 bytes.
Who designed Hyena-V2 and when?
Hyena-V2 belongs to the HyENA family, first published in 2019 by Avik Chakraborti, Nilanjan Datta, Ashwin Jha, Cuauhtemoc Mancillas-López, Mridul Nandi, Yu Sasaki. Its origin: NIST LWC round 2.
Is Hyena-V2 safe to use?
Hyena-V2 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other HyENA variants are there?
NextSSL also registers hyena-v1 in the HyENA family.