International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Algebraic Attacks on RAIN and AIM Using Equivalent Representations

Authors:
Fukang Liu , Tokyo Institute of Technology, Tokyo, Japan
Mohammad Mahzoun , Eindhoven University of Technology, Eindhoven, The Netherlands
Morten Øygarden , Simula UiB, Bergen, Norway
Willi Meier , University of Applied Sciences and Arts Northwestern Switzerland, Windisch, Switzerland
Download:
DOI: 10.46586/tosc.v2023.i4.166-186
URL: https://tosc.iacr.org/index.php/ToSC/article/view/11284
Search ePrint
Search Google
Abstract: Designing novel symmetric-key primitives for advanced protocols like secure multiparty computation (MPC), fully homomorphic encryption (FHE) and zero-knowledge proof systems (ZK), has been an important research topic in recent years. Many such existing primitives adopt quite different design strategies from conventional block ciphers. Notable features include that many of these ciphers are defined over a large finite field, and that a power map is commonly used to construct the nonlinear component due to its efficiency in these applications as well as its strong resistance against the differential and linear cryptanalysis. In this paper, we target the MPC-friendly ciphers AIM and RAIN used for the post-quantum signature schemes AIMer (CCS 2023 and NIST PQC Round 1 Additional Signatures) and Rainier (CCS 2022), respectively. Specifically, we can find equivalent representations of 2-round RAIN and full-round AIM, respectively, which make them vulnerable to either the polynomial method, or the crossbred algorithm, or the fast exhaustive search attack. Consequently, we can break 2-round RAIN with the 128/192/256-bit key in only 2111/2170/2225 bit operations. For full-round AIM with the 128/192/256-bit key, we could break them in 2136.2/2200.7/2265 bit operations, which are equivalent to about 2115/2178/2241 calls of the underlying primitives. In particular, our analysis indicates that AIM does not reach the required security levels by the NIST competition.
BibTeX
@article{tosc-2023-33686,
  title={Algebraic Attacks on RAIN and AIM Using Equivalent Representations},
  journal={IACR Transactions on Symmetric Cryptology},
  publisher={Ruhr-Universität Bochum},
  volume={023 No. 4},
  pages={166-186},
  url={https://tosc.iacr.org/index.php/ToSC/article/view/11284},
  doi={10.46586/tosc.v2023.i4.166-186},
  author={Fukang Liu and Mohammad Mahzoun and Morten Øygarden and Willi Meier},
  year=2023
}