Trivium
A minimal hardware stream cipher in the eSTREAM portfolio, standardised in ISO/IEC 29192-3
Overview
Trivium is a hardware-oriented stream cipher designed by Christophe De Cannière and Bart Preneel. It was selected for the eSTREAM hardware portfolio and is standardised in ISO/IEC 29192-3 as a lightweight stream cipher. It uses an 80-bit key and an 80-bit IV.
Trivium's 288-bit state is split into three nonlinear feedback shift registers of 93, 84 and 111 bits. On each clock, a few tapped bits from each register are XORed to give one output bit, and each register is fed by a combination of linear taps and one AND of two bits from another register. Initialisation clocks the state 1152 times without output. The design can produce up to 64 bits per clock in parallel hardware.
NextSSL includes Trivium from source without verification. Trivium's simplicity has made it one of the most analysed stream ciphers; cube and algebraic attacks have reached more than 800 of its 1152 initialisation rounds, but not the full cipher. It is a common benchmark in hardware cryptography research. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.
History
2004–2008ECRYPT launches eSTREAM to find new stream ciphers
eSTREAM projectTrivium published by Christophe De Cannière, Bart Preneel
34 designs submitted
eSTREAM projectFinal eSTREAM portfolio published
eSTREAM project
Security notes
No practical attacks on full Trivium are known; cube attacks break versions with fewer initialisation rounds. Its 80-bit key is below modern recommendations for long-term security. NextSSL's implementation is unverified.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Trivium trivium |
unverified | key 10 · nonce 10 | — | root |
Frequently asked questions
Which Trivium variants does NextSSL include?
NextSSL registers 1 Trivium variant: trivium.