TriviA
Trivium-inspired stream cipher with an integrated hash for authentication
Overview
TriviA (Trivia-ck) is an authenticated cipher that combines a Trivium-style stream cipher with an algebraic hash for authentication. NextSSL includes two version 2 builds, trivia0 and trivia128.
The keystream generator is derived from Trivium, extended to a larger state, and authentication uses a field-multiplication-based hash over the ciphertext and associated data. The design targets efficient hardware with a modest software footprint.
The two NextSSL ids differ in their parameterisation within the version 2 specification. Both builds use a 128-bit key and 64-bit nonce. Trivium-derived designs are attractive in hardware because their state update is cheap and highly parallel, but their security depends heavily on the initialisation rounds.
History
2013–2019CAESAR competition for authenticated encryption announced
CAESAR competitionTriviA published by Avik Chakraborti, Mridul Nandi
57 first-round candidates published
CAESAR competitionSecond round announced
CAESAR competitionThird round announced
CAESAR competitionFinalists announced
CAESAR competitionFinal portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB
CAESAR competition
Security notes
Requires unique nonces. Public analysis is limited; treat as research-only.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Trivia128v2 trivia128v2 |
unverified | key 16 · nonce 8 · tag 16 | — | root |
Frequently asked questions
Which TriviA variants does NextSSL include?
NextSSL registers 1 TriviA variant: trivia128v2.