基于复合域SM4密码算法S盒的量子电路实现  被引量:7

Quantum Circuit Implementation of S-box for SM4 Cryptographic Algorithm Based on Composite Field Arithmetic

在线阅读下载全文

作  者:罗庆斌 李晓瑜[2] 杨国武[3] 牛伟纳[3] 李强 LUO Qingbin;LI Xiaoyu;YANG Guowu;NIU Weina;LI Qiang(College of Intelligent Systems Science and Engineering,Hubei Minzu University Enshi Hubei 445000;School of Information and Software Engineering,University of Electronic Science and Technology of China Chengdu 610054;School of Computer Science and Engineering,University of Electronic Science and Technology of China Chengdu 611731)

机构地区:[1]湖北民族大学智能科学与工程学院,湖北恩施445000 [2]电子科技大学信息与软件工程学院,成都610054 [3]电子科技大学计算机科学与工程学院,成都611731

出  处:《电子科技大学学报》2022年第6期812-818,共7页Journal of University of Electronic Science and Technology of China

基  金:国家自然科学基金(61772006);国家重点研发计划(2018YFA0306703);湖北省自然科学基金(2020CFB326);广西省自然科学基金(2019GXNSFAA185033);福建省自然科学基金(2020J01812)。

摘  要:S盒是SM4分组密码算法中重要的非线性组件。使用Toffoli门、CNOT门和NOT门构建S盒的量子电路。首先,基于S盒的代数表达式,通过同构映射矩阵,将有限域GF(28)中的求逆运算转化到有限域GF((24)2)中的运算;其次,在GF(24)中分别给出了平方计算、乘法计算和求逆运算的量子电路;再次,通过最小化同构矩阵中“1”元素的个数,求出最优的同构映射矩阵,并给出相应的量子电路;然后,通过高斯消元法给出S盒表达式中仿射变换的量子电路;最后,综合出SM4密码算法S盒的量子电路。该量子电路的正确性通过IBM量子平台的Aer模拟器进行了验证。复杂度分析表明:所给出S盒的量子电路一共使用了21个量子比特,55个Toffoli门、176个CNOT门和10个NOT门,电路深度为151。相比于已有结果,所使用的量子资源进一步减少,效率进一步提高。The S-box is an important nonlinear component in SM4 block cipher algorithm.In this paper,Toffoli gates,CNOT gates and NOT gates are used to construct the quantum circuit of the S-box.Based on the algebraic expression of the S-box,the inverse operation in finite field GF(28)GF((24)2)calculation and inversion operation in GF(24)the isomorphic matrices,the optimal isomorphic mapping matrices are obtained,and the corresponding quantum circuits are given.Then,the quantum circuit of affine transformation in S-box expression is given by Gaussian elimination method;Finally,the quantum circuit of S-box in SM4 cryptographic algorithm is synthesized.The correctness of the quantum circuit is verified by the Aer simulator of IBM quantum platform.The complexity analysis shows that the given quantum circuit of the S-box uses 21 qubits,55 Toffoli gates,176 CNOT gates and10 NOT gates,and the circuit depth is 151.Compared with the existing results,the quantum resources used are further reduced and the efficiency is further improved.

关 键 词:代数运算 复合域 量子电路 S盒 SM4 

分 类 号:TP309[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象