Paper 2025/1346
Cryptanalysis of TFHE-friendly Cipher FRAST
Abstract
FRAST is a TFHE-friendly stream cipher that was published at FSE 2025. The cipher is defined over $\mathbb{Z}_{16}$, and makes extensive use of negacyclic S-boxes over $\mathbb Z_{16}$ as they are less costly in TFHE. Like many FHE-friendly ciphers, FRAST randomizes some of its components to increase its security against statistical attacks. In the case of FRAST, some S-boxes are randomized using an XOF that takes a nonce as input. In this work, we point out a strong structural property of the full FRAST permutation, which leads to a much simpler alternative representation of the primitive. We study the consequences of this representation and find a weak key space of non-negligible size (i.e., much larger than $2^{128}$) on which every ciphertext leaks one bit of plaintext. This corresponds to a distinguishing attack on the full FRAST in the weak-key setting. In particular, we emphasize that, apart from the structural property, the usage of negacyclic S-boxes further leads to a much larger weak-key space for our attack. Finally, we provide a general framework to mount a linear attack on FRAST in the average key setting. We briefly describe our approach in the end of the paper, and observe that standard assumptions expected to work in the context of linear cryptanalysis do not hold in the case of FRAST: our experiment indicate that a linear attack in the average key setting does not work as expected.
Metadata
- Available format(s)
-
PDF
- Category
- Attacks and cryptanalysis
- Publication info
- Preprint.
- Keywords
- HE-friendly cipherstream cipherFRASTweak-key attack
- Contact author(s)
-
antoine bak @ inria fr
shibam ghosh @ inria fr
liufukangs @ gmail com
willimeier48 @ gmail com
jianqiangni0213 @ 163 com
leo perrin @ inria fr - History
- 2025-08-24: last of 2 revisions
- 2025-07-24: received
- See all versions
- Short URL
- https://ia.cr/2025/1346
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2025/1346,
author = {Antoine Bak and Shibam Ghosh and Fukang Liu and Willi Meier and Jianqiang Ni and Léo Perrin},
title = {Cryptanalysis of {TFHE}-friendly Cipher {FRAST}},
howpublished = {Cryptology {ePrint} Archive, Paper 2025/1346},
year = {2025},
url = {https://eprint.iacr.org/2025/1346}
}