Cryptanalysis of the "Grain" family of stream ciphers
Abstract
Let us have an NLFSR with the feedback function g(x) and an LFSR with the generating polynomial f(x). The function g(x) is a Boolean function on the state of the NLFSR and the LFSR, at any time instance t. Whenever the LFSR has good statistical properties, it is used for controlling the randomness of the NLFSR's state machine. In this paper we define and study the general class of "Grain" family of stream ciphers, where the keystream bits are generated by another Boolean function h(y) on the states of the NLFSR and the LFSR. We show that the cryptographic strength of this family is related to the general decoding problem, when a key-recovering attack is considered. A proper choice of the functions f(·), g(·) and h(·) could, potentially, give us a strong instance of a stream cipher. One of such stream ciphers Grain was recently proposed as a candidate for the European project ECRYPT in May, 2005. Grain uses the secret key of length 80 bits and its internal state is of size 160 bits. It was suggested as a fast and small primitive for efficient hardware implementation. In our work we propose the analysis of such structures in general, and, in particular, we give a linear distinguishing attack on Grain with time complexity O(254), when O(251) bits of the keystream is available. This is the first paper presenting an attack on Grain, and it reveals a leakage in the choice of the functions in this particular design instance.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
If the NFSR and output function are chosen with high nonlinearity and suitable resiliency, ciphers similar to Grain-v0 will be resistant to linear approximation attacks.
“In [32] it has been discussed that if the NFSR and the output function are chosen with high nonlinearity and suitable resiliency, the ciphers similar to Grain-v0 will be resistant to linear approximations attacks.”
From Fruit-80: A Secure Ultra-Lightweight Stream Cipher for Constrained Environments (2018) · cites this paper as [32]
A linear approximation attack was applied to Grain-v0.
“A linear approximation attack was applied to Grain-v0 [32].”
From Fruit-80: A Secure Ultra-Lightweight Stream Cipher for Constrained Environments (2018) · cites this paper as [32]
Cites
Communication Theory of Secrecy Systems
Shannon, C. E. (1949) · Bell System Technical Journal · doi:10.1002/j.1538-7305.1949.tb00928.x · Cited by 9,440 · see citing works
Flagged first, then by citations
Cited by
Sorted by citations
Grain: A stream cipher for constrained environments
Hell, M., Johansson, T., & Meier, W. (2007) · International Journal of Wireless and Mobile Computing · doi:10.1504/ijwmc.2007.013798 · Cited by 568 · see citing works
Fruit-80: A Secure Ultra-Lightweight Stream Cipher for Constrained Environments
Amin Ghafari, V., & Hu, H. (2018) · Entropy · doi:10.3390/e20030180 · Cited by 45 · see citing works
“In [32] it has been discussed that if the NFSR and the output function are chosen with high nonlinearity and suitable resiliency, the ciphers similar to Grain-v0 will be resistant to linear approximations attacks.”
BackgroundMethod
- Authors
- Maximov, A.
- Affiliations
- Lund University (SE)
- Corresponding author
- Maximov, Alexander
- ORCID
- Maximov, Alexander
- Venue
- Proceedings of the 2006 ACM Symposium on Information, computer and communications security
- Publisher
- ACM
- Published
- 2006-03-21
- Pages
- 283-288
- OpenAlex
- W2071705091
- Cited by
- 40
- References
- 1
- Citations by year
- 2025: 3 · 2024: 1 · 2022: 1 · 2020: 1 · 2019: 2 · 2018: 3 · 2017: 1 · 2015: 4 · 2014: 2 · 2013: 2 · 2012: 1
- FWCI
- 3.83
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM Asia Conference on Computer and Communications Security (ASIA CCS) (publishedVersion)
- Lund University Publications (Lund University) (submittedVersion)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Cryptographic Implementations and Security
- Physical Sciences › Computer Science › Artificial Intelligence › Coding theory and cryptography
- Physical Sciences › Computer Science › Information Systems › Cryptography and Residue Arithmetic
- Keywords
- Grain stream cipher, cryptanalysis, nonlinear feedback shift registers, linear feedback shift registers, Boolean functions, key recovery attack, keystream generation
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review