计算机科学 ›› 2025, Vol. 52 ›› Issue (11A): 250100075-7.doi: 10.11896/jsjkx.250100075
丁浪1, 罗庆斌1, 吕轶1, 郑圆梦2, 廖颢羽2
DING Lang1, LUO Qingbin1, LYU Yi1, ZHENG Yuanmeng2, LIAO Haoyu2
摘要: AES是当前最广泛使用的国际标准化分组密码算法,美国国家标准与技术研究院(NIST)将AES的量子安全强度作为评估后量子密码安全性的参考,因此实现AES算法的量子电路并分析其量子安全性已成为密码学研究的热点。然而,由于AES算法的量子电路实现需耗费数百个量子比特和数万个量子门,简化AES密码算法的量子电路实现与优化成为重要的研究方向。首先,在加密算法中,基于S盒查找表,利用DORCIS工具成功实现S盒的量子电路;其次,通过借用密钥中的一个量子比特,将该量子电路中具有3个控制位的CCCNOT门分解为4个Toffoli门,将使用的量子门控制在NCT门集内;然后,在移位操作中,通过置换变量的方式避免了加密算法中交换门的使用;最后,通过S盒查找表计算出了S盒的布尔表达式,设计并实现了密钥扩展中8量子比特的S盒量子电路。在此基础上优化了简化AES密码算法的量子电路,该量子电路的正确性在Qiskit Aer量子模拟器中得到了验证。量子资源分析结果表明,整体量子电路实现仅需32个量子比特、51个NOT门、220个CNOT门和120个Toffoli门。与已有研究相比,所提方法减少了量子资源的消耗,从而提升了简化AES算法量子电路的实现效率。
中图分类号:
| [1]ELGAMAL T.A public key cryptosystem and a signaturescheme based on discrete logarithms[J].IEEE transactions on information theory,1985,31(4):469-472. [2]SHOR P W.Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer[J].SIAM review,1999,41(2):303-332. [3]SIMON D R.On the power of quantum computation[J].SIAM journal on computing,1997,26(5):1474-1483. [4]KAPLAN M,LEURENT G,LEVERRIER A,et al.Breakingsymmetric cryptosystems using quantum period finding[C]//Advances in Cryptology-CRYPTO 2016:36th Annual International Cryptology Conference,Santa Barbara,CA,USA,August 14-18,2016,Proceedings,Part II 36.Springer Berlin Heidelberg,2016:207-237. [5]GROVER L K.A fast quantum mechanical algorithm for database search[C]//Proceedings of the twenty-eighth annual ACM symposium on Theory of computing.1996:212-219. [6]CHUNG D,LEE S,CHOI D,et al.Alternative tower field construction for quantum implementation of the AES S-box[J].IEEE Transactions on Computers,2021,71(10):2553-2564. [7]LIU Q,PRENEEL B,ZHAO Z,et al.Improved quantum circuits for AES:Reducing the depth and the number of qubits[C]//International Conference on the Theory and Application of Cryptology and Information Security.Singapore:Springer Nature Singapore,2023:67-98. [8]SHI H,FENG X.Quantum circuits of AES with a low-depthlinear layer and a new structure[C]//International Conference on the Theory and Application of Cryptology and Information Security.Singapore:Springer Nature Singapore,2024:358-395. [9]O’GORMAN J,CAMPBELL E T.Quantum computation with realistic magic-state factories[J].Physical Review A,2017,95(3):032338. [10]WANG Z G,WEI S J,LONG G L.A quantum circuit design of AES requiring fewer quantum qubits and gate operations[J].Frontiers of Physics,2022,17(4):41501. [11]SIMMONS S.Algebraic Cryptanalysis of Simplified AES*[J].Cryptologia,2009,33(4):305-314. [12]SAEED R,BHERY A.Cryptanalysis of Simplified-AES Using Intelligent Agent[C]//Hybrid Artificial Intelligent Systems:10th International Conference,HAIS 2015,Bilbao,Spain,June 22-24,2015,Proceedings 10.Springer International Publishing,2015:173-187. [13]CAMPBELL S,GRINCHENKO M,SMITH W.Linear cryptanalysis of simplified AES under change of S-Box[J].Cryptologia,2013,37(2):120-138. [14]MUSA M A,SCHAEFER E F,WEDIG S.A simplified AES algorithm and its linear and differential cryptanalyses[J].Cryptologia,2003,27(2):148-177. [15]ALMAZROOIE M,ABDULLAH R,SAMSUDIN A,et al.Quantum grover attack on the simplified aes[C]//Proceedings of the 2018 7th International Conference on Software and Computer Applica tions.2018:204-211. [16]JANG K B,SONG G J,KIM H J,et al.Grover on simplified aes[C]//2021 IEEE International Confer ence on Consumer Electronics-Asia(ICCE-Asia).IEEE,2021:1-4. [17]JEAN J,PEYRIN T,SIM S M,et al.Optimizing implementa-tions of lightweight building blocks[J].Cryptology ePrint Archive,2017,4:130-168. [18]CHUN M,BAKSI A,CHATTOPADHYAY A.Dorcis:depthoptimized quantum implementation of substitution boxes[J].Cryptology ePrint Archive,2023,2(8):6-16. [19]SHENDE V V,BULLOCK S S,MARKOV I L.Synthesis ofquantum logic circuits[C]//Proceedings of the 2005 Asia and South Pacific Design Automation Conference.2005:272-275. [20]LUO Q,LI Q,LI X,et al.Quantum circuit implementations of SM4 block cipher optimizing the number of qubits[J].Quantum Information Processing,2024,23(5):177. [21]NIELSEN M A,CHUANG I L.Quantum computation andquantum information[M].Cambridge University Press,2010. |
|
||