Font Size: a A A

Fast Research And Realization Of SM2 Based On SoPC

Posted on:2018-12-07Degree:MasterType:Thesis
Country:ChinaCandidate:M L ShaoFull Text:PDF
GTID:2348330515956977Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
SM2 is a public-key cryptographic algorithm based on elliptic curve which is issued by the State Encryption administration.The speed the algorithm SM2 algorithm is depends on each part of it,the previous research of SM2 are mainly concentrated in the fast realization of the algorithm,it is mainly concentrated in the hash algorithm,domain element multiplication and other fast realization of the algorithm.In this paper,we study the fast implementation of the SoC algorithm,and select SoPC as the way to realize it.Take the SM2 algorithm as a whole,and then analyze the implementation of the various parts of the algorithm,while considering the hardware resource consumption and hardware and software issues.The main work of this paper are following:(1)SM3 hash algorithm implementation:The use of hardware,the interface of the package according to the internal standard SoPC bus,the design and implementation of the direct use of components can be provided to Nios II embedded system,implemented in Cyclone IV series EP4CE22F17C8N test showed that the operating frequency can reach 165MHz the throughput of 1 184.8 Mbit/s;(2)Domain operations:The value of m is 281 bit,the use of Gauss normal basis for domain operations.In the operation of the square has been improved a cycle can achieve achieve multiple shift operations.The bucket shifter with 281 bits is optimized,and the mixed coding mode with the least resource is used.Gauss normal basis for the operation of the elements of the domain are Avalon interface standards for packaging,can be used in Nios II embedded system.(3)The overall implementation:By way of combining software and hardware implementation of the algorithm,hash algorithm and domain operations is realized by hardware for multiplication and large integer modular inversion algorithm were realized by software,the hardware system uses the number of logic cells is about 35000.
Keywords/Search Tags:FPGA, elliptic curve, SM2, SM3, SoC, SoPC
PDF Full Text Request
Related items