TY - JOUR AU - Guo, Jian AU - Jean, Jérémy AU - Nikolic, Ivica AU - Qiao, Kexin AU - Sasaki, Yu AU - Sim, Siang Meng PY - 2016/12/01 Y2 - 2024/03/29 TI - Invariant Subspace Attack Against Midori64 and The Resistance Criteria for S-box Designs JF - IACR Transactions on Symmetric Cryptology JA - ToSC VL - 2016 IS - 1 SE - Articles DO - 10.13154/tosc.v2016.i1.33-56 UR - https://tosc.iacr.org/index.php/ToSC/article/view/534 SP - 33-56 AB - <p>We present an invariant subspace attack on the block cipher Midori64, proposed at Asiacrypt 2015. Our analysis shows that Midori64 has a class of 2<sup>32</sup> weak keys. Under any such key, the cipher can be distinguished with only a single chosen query, and the key can be recovered in 2<sup>16</sup> time with two chosen queries. As both the distinguisher and the key recovery have very low complexities, we confirm our analysis by implementing the attacks. Some tweaks of round constants make Midori64 more resistant to the attacks, but some lead to even larger weak-key classes. To eliminate the dependency on the round constants, we investigate alternative S-boxes for Midori64 that provide certain level of security against the found invariant subspace attacks, regardless of the choice of the round constants. Our search for S-boxes is enhanced with a dedicated tool which evaluates the depth of any given 4-bit S-box that satisfies certain design criteria. The tool may be of independent interest to future S-box designs.</p> ER -