{"title":"量子差分中间人攻击及其在轻量级密码中的一些应用","authors":"Yin-Song Xu, Bin-Bin Cai, Zheng Yuan, Su-Juan Qin, Fei Gao, Qiao-Yan Wen","doi":"10.1002/qute.202400157","DOIUrl":null,"url":null,"abstract":"<p>At CRYPTO 2023, Boura et al. proposed a new cryptanalysis technique, differential meet-in-the-middle (MITM) attack. They used MITM technique to make the key recovery step of a differential attack more efficient. In this study, a quantum differential meet-in-the-middle attack is proposed by using nested quantum search algorithm, which can achieve up to a quadratic speed-up compared to the classical version. Besides, the time complexity of the attack can be reduced by at least a factor of <span></span><math>\n <semantics>\n <msup>\n <mn>2</mn>\n <mrow>\n <mo>(</mo>\n <mfenced>\n <mrow>\n <msub>\n <mi>k</mi>\n <mrow>\n <mi>i</mi>\n <mi>n</mi>\n </mrow>\n </msub>\n <mo>∪</mo>\n <msub>\n <mi>k</mi>\n <mrow>\n <mi>o</mi>\n <mi>u</mi>\n <mi>t</mi>\n </mrow>\n </msub>\n </mrow>\n </mfenced>\n <mo>−</mo>\n <mi>n</mi>\n <mo>)</mo>\n <mo>/</mo>\n <mn>2</mn>\n </mrow>\n </msup>\n <annotation>${2^{({\\left| {{k_{in}} \\cup {k_{out}}} \\right| } - n)/2}}$</annotation>\n </semantics></math> (<span></span><math>\n <semantics>\n <mfenced>\n <mrow>\n <msub>\n <mi>k</mi>\n <mrow>\n <mi>i</mi>\n <mi>n</mi>\n </mrow>\n </msub>\n <mo>∪</mo>\n <msub>\n <mi>k</mi>\n <mrow>\n <mi>o</mi>\n <mi>u</mi>\n <mi>t</mi>\n </mrow>\n </msub>\n </mrow>\n </mfenced>\n <annotation>${{\\left| {{k_{in}} \\cup {k_{out}}} \\right| }}$</annotation>\n </semantics></math> is the guessed key length and <span></span><math>\n <semantics>\n <mi>n</mi>\n <annotation>$n$</annotation>\n </semantics></math> is the block size) compared to the first quantum differential attack proposed by Kaplan et al. at ToSC 2016. Finally, to demonstrate the efficiency of our attack, it is applied to two reduced-round lightweight block ciphers, <span>PIPO</span> and <span>SIMON</span>, to evaluate their post-quantum security. When attacking the same number of rounds, the time complexity of our attack is significantly lower than that of classical attacks. For the 8-round <span>PIPO-128</span>, the attack significantly improves efficiency, reducing the time complexity from <span></span><math>\n <semantics>\n <mrow>\n <msup>\n <mn>2</mn>\n <mn>64</mn>\n </msup>\n <mo>+</mo>\n <msup>\n <mn>2</mn>\n <mn>60.94</mn>\n </msup>\n </mrow>\n <annotation>$2^{64} + 2^{60.94}$</annotation>\n </semantics></math> to <span></span><math>\n <semantics>\n <msup>\n <mn>2</mn>\n <mn>60.48</mn>\n </msup>\n <annotation>$2^{60.48}$</annotation>\n </semantics></math>, cutting down the required qRAM size by a factor of <span></span><math>\n <semantics>\n <msup>\n <mn>2</mn>\n <mn>14</mn>\n </msup>\n <annotation>$2^{14}$</annotation>\n </semantics></math> and obtaining the data complexity <span></span><math>\n <semantics>\n <msup>\n <mn>2</mn>\n <mn>57</mn>\n </msup>\n <annotation>$2^{57}$</annotation>\n </semantics></math> instead of <span></span><math>\n <semantics>\n <msup>\n <mn>2</mn>\n <mn>64</mn>\n </msup>\n <annotation>$2^{64}$</annotation>\n </semantics></math> compared to the best quantum attack proposed by Schrottenloher at CRYPTO 2023. For the 19-round <span>SIMON-32-64</span>, the time complexity here will be <span></span><math>\n <semantics>\n <msup>\n <mn>2</mn>\n <mn>31.68</mn>\n </msup>\n <annotation>$2^{31.68}$</annotation>\n </semantics></math> instead of <span></span><math>\n <semantics>\n <msup>\n <mn>2</mn>\n <mn>33.39</mn>\n </msup>\n <annotation>$2^{33.39}$</annotation>\n </semantics></math> compared to the other quantum attack, and the attack can target more rounds than using Grover-meets-Simon technique.</p>","PeriodicalId":72073,"journal":{"name":"Advanced quantum technologies","volume":"7 10","pages":""},"PeriodicalIF":4.4000,"publicationDate":"2024-08-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Quantum Differential Meet-In-The-Middle Attack and Some Applications to Lightweight Ciphers\",\"authors\":\"Yin-Song Xu, Bin-Bin Cai, Zheng Yuan, Su-Juan Qin, Fei Gao, Qiao-Yan Wen\",\"doi\":\"10.1002/qute.202400157\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>At CRYPTO 2023, Boura et al. proposed a new cryptanalysis technique, differential meet-in-the-middle (MITM) attack. They used MITM technique to make the key recovery step of a differential attack more efficient. In this study, a quantum differential meet-in-the-middle attack is proposed by using nested quantum search algorithm, which can achieve up to a quadratic speed-up compared to the classical version. Besides, the time complexity of the attack can be reduced by at least a factor of <span></span><math>\\n <semantics>\\n <msup>\\n <mn>2</mn>\\n <mrow>\\n <mo>(</mo>\\n <mfenced>\\n <mrow>\\n <msub>\\n <mi>k</mi>\\n <mrow>\\n <mi>i</mi>\\n <mi>n</mi>\\n </mrow>\\n </msub>\\n <mo>∪</mo>\\n <msub>\\n <mi>k</mi>\\n <mrow>\\n <mi>o</mi>\\n <mi>u</mi>\\n <mi>t</mi>\\n </mrow>\\n </msub>\\n </mrow>\\n </mfenced>\\n <mo>−</mo>\\n <mi>n</mi>\\n <mo>)</mo>\\n <mo>/</mo>\\n <mn>2</mn>\\n </mrow>\\n </msup>\\n <annotation>${2^{({\\\\left| {{k_{in}} \\\\cup {k_{out}}} \\\\right| } - n)/2}}$</annotation>\\n </semantics></math> (<span></span><math>\\n <semantics>\\n <mfenced>\\n <mrow>\\n <msub>\\n <mi>k</mi>\\n <mrow>\\n <mi>i</mi>\\n <mi>n</mi>\\n </mrow>\\n </msub>\\n <mo>∪</mo>\\n <msub>\\n <mi>k</mi>\\n <mrow>\\n <mi>o</mi>\\n <mi>u</mi>\\n <mi>t</mi>\\n </mrow>\\n </msub>\\n </mrow>\\n </mfenced>\\n <annotation>${{\\\\left| {{k_{in}} \\\\cup {k_{out}}} \\\\right| }}$</annotation>\\n </semantics></math> is the guessed key length and <span></span><math>\\n <semantics>\\n <mi>n</mi>\\n <annotation>$n$</annotation>\\n </semantics></math> is the block size) compared to the first quantum differential attack proposed by Kaplan et al. at ToSC 2016. Finally, to demonstrate the efficiency of our attack, it is applied to two reduced-round lightweight block ciphers, <span>PIPO</span> and <span>SIMON</span>, to evaluate their post-quantum security. When attacking the same number of rounds, the time complexity of our attack is significantly lower than that of classical attacks. For the 8-round <span>PIPO-128</span>, the attack significantly improves efficiency, reducing the time complexity from <span></span><math>\\n <semantics>\\n <mrow>\\n <msup>\\n <mn>2</mn>\\n <mn>64</mn>\\n </msup>\\n <mo>+</mo>\\n <msup>\\n <mn>2</mn>\\n <mn>60.94</mn>\\n </msup>\\n </mrow>\\n <annotation>$2^{64} + 2^{60.94}$</annotation>\\n </semantics></math> to <span></span><math>\\n <semantics>\\n <msup>\\n <mn>2</mn>\\n <mn>60.48</mn>\\n </msup>\\n <annotation>$2^{60.48}$</annotation>\\n </semantics></math>, cutting down the required qRAM size by a factor of <span></span><math>\\n <semantics>\\n <msup>\\n <mn>2</mn>\\n <mn>14</mn>\\n </msup>\\n <annotation>$2^{14}$</annotation>\\n </semantics></math> and obtaining the data complexity <span></span><math>\\n <semantics>\\n <msup>\\n <mn>2</mn>\\n <mn>57</mn>\\n </msup>\\n <annotation>$2^{57}$</annotation>\\n </semantics></math> instead of <span></span><math>\\n <semantics>\\n <msup>\\n <mn>2</mn>\\n <mn>64</mn>\\n </msup>\\n <annotation>$2^{64}$</annotation>\\n </semantics></math> compared to the best quantum attack proposed by Schrottenloher at CRYPTO 2023. For the 19-round <span>SIMON-32-64</span>, the time complexity here will be <span></span><math>\\n <semantics>\\n <msup>\\n <mn>2</mn>\\n <mn>31.68</mn>\\n </msup>\\n <annotation>$2^{31.68}$</annotation>\\n </semantics></math> instead of <span></span><math>\\n <semantics>\\n <msup>\\n <mn>2</mn>\\n <mn>33.39</mn>\\n </msup>\\n <annotation>$2^{33.39}$</annotation>\\n </semantics></math> compared to the other quantum attack, and the attack can target more rounds than using Grover-meets-Simon technique.</p>\",\"PeriodicalId\":72073,\"journal\":{\"name\":\"Advanced quantum technologies\",\"volume\":\"7 10\",\"pages\":\"\"},\"PeriodicalIF\":4.4000,\"publicationDate\":\"2024-08-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Advanced quantum technologies\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1002/qute.202400157\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"OPTICS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advanced quantum technologies","FirstCategoryId":"1085","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/qute.202400157","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"OPTICS","Score":null,"Total":0}
Quantum Differential Meet-In-The-Middle Attack and Some Applications to Lightweight Ciphers
At CRYPTO 2023, Boura et al. proposed a new cryptanalysis technique, differential meet-in-the-middle (MITM) attack. They used MITM technique to make the key recovery step of a differential attack more efficient. In this study, a quantum differential meet-in-the-middle attack is proposed by using nested quantum search algorithm, which can achieve up to a quadratic speed-up compared to the classical version. Besides, the time complexity of the attack can be reduced by at least a factor of ( is the guessed key length and is the block size) compared to the first quantum differential attack proposed by Kaplan et al. at ToSC 2016. Finally, to demonstrate the efficiency of our attack, it is applied to two reduced-round lightweight block ciphers, PIPO and SIMON, to evaluate their post-quantum security. When attacking the same number of rounds, the time complexity of our attack is significantly lower than that of classical attacks. For the 8-round PIPO-128, the attack significantly improves efficiency, reducing the time complexity from to , cutting down the required qRAM size by a factor of and obtaining the data complexity instead of compared to the best quantum attack proposed by Schrottenloher at CRYPTO 2023. For the 19-round SIMON-32-64, the time complexity here will be instead of compared to the other quantum attack, and the attack can target more rounds than using Grover-meets-Simon technique.