Research on an FPGA Implementation Scheme for S Box in SM4 Algorithm Based on Composite Field
SM4 algorithm is a domestic symmetric cryptography,whose FPGA implementation is always realized by the complete 8-bits lookup table method and the composite field method.Without consider-ing the area and the computation speed in these two methods,some issues occur in the scheme design process.To address the issues,merits and realization processes of some FPGA implementation schemes for the S box in SM4 algorithm based on composite field are studied.Merits and demerits of the com-plete 8-bits lookup table scheme and the composite field with 2-bits lookup table hybrid scheme are compared and deeply analyzed,based on which,a composite field with 4-bits lookup table hybrid scheme named SM4-Sboxilt-LJX scheme is proposed.In the proposed SM4-Sboxilt-LJX scheme,area and computation speed are fully considered,exhibiting higher performance than the two schemes.A-bove-mentioned three schemes are validated in Quartus in terms of resources occupancy,maximum op-erating frequency,time and power consumption of the S box to comprehensively conclude the merits and demerits of each.Results show that our proposed SM4-Sboxilt-LJX scheme has the greatest performance among the three schemes.