Sosemanuk
A software-oriented eSTREAM stream cipher combining an LFSR with Serpent S-boxes
Overview
Sosemanuk is a software-oriented stream cipher from the eSTREAM project, designed by Cédric Berbain, Henri Gilbert and Alexander Maximov. It combines a linear feedback shift register with the S-boxes of the Serpent block cipher, and takes keys from 16 to 32 bytes with a 16-byte IV. NextSSL carries it as an unverified entry.
Sosemanuk is a stream cipher designed for the eSTREAM project, which selected stream ciphers for software and hardware profiles. Its design is a linear feedback shift register combined with a small finite-state machine that uses the S-boxes of the Serpent block cipher. The combination was chosen for fast software performance.
NextSSL records a key length of 16 to 32 bytes and a 16-byte IV. The archive treats the variant as unverified, which reflects NextSSL's review status. The eSTREAM portfolio is where most of the public analysis of this cipher sits, and the archive records no practical break of the full cipher.
The 128-bit key is a common choice in practice, though the cipher accepts keys up to 256 bits. A stream cipher must not reuse a key and IV pair, so the IV must be managed as carefully as the key.
History
2004–2008ECRYPT launches eSTREAM to find new stream ciphers
eSTREAM projectSosemanuk published by Cédric Berbain, Henri Gilbert, Alexander Maximov
34 designs submitted
eSTREAM projectFinal eSTREAM portfolio published
eSTREAM project
How it works
- The key and IV are loaded into the LFSR and the finite-state machine state.
- Each step updates the LFSR and the finite-state machine, using Serpent S-box outputs to mix the state.
- The keystream is XORed with the plaintext, and the receiver regenerates it from the same key and IV.
Security notes
Unverified in NextSSL. The archive records no practical break of the full cipher. Keys and IVs must never repeat as a pair.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Sosemanuk sosemanuk |
unverified | key 16–32 · nonce 16 | — | root |
Frequently asked questions
What is Sosemanuk?
Sosemanuk is a software-oriented stream cipher from the eSTREAM project, combining an LFSR with Serpent S-boxes. NextSSL carries it as unverified.
Is Sosemanuk secure and post-quantum?
The archive records no practical break of the full cipher, but NextSSL marks it unverified. Its 128-bit security is reduced to about 64 bits against Grover's quantum key search, so use a 256-bit key where possible.
What key and IV sizes does Sosemanuk use?
Keys range from 16 to 32 bytes, and the IV is 16 bytes.
Which Sosemanuk variants does NextSSL include?
NextSSL registers 1 Sosemanuk variant: sosemanuk.
Other stream ciphers
All 37Related
ARX stream cipher with a one-time Poly1305 MAC; fast and constant-time in software
ChaChaBernstein's ARX stream cipher; ChaCha20 secures much of today's TLS, SSH and VPN traffic
RabbitA high-speed stream cipher in the eSTREAM software portfolio, specified in RFC 4503
SEAL 3.0A 1990s software-oriented stream cipher by Rogaway and Coppersmith with a 160-bit key
SNOW 2.0A word-oriented LFSR stream cipher, standardised in ISO/IEC 18033-4 and parent of SNOW 3G
TriviumA minimal hardware stream cipher in the eSTREAM portfolio, standardised in ISO/IEC 29192-3