Abstract

Aiming at the lightweight design of SM4 cryptographic algorithm, a lightweight cryptographic algorithm scheme is proposed and implemented in hardware. Based on the work of Li et al., a 4-bit S-box is selected. The original 8-bit look-up table S-box in the SM4 algorithm is replaced with a 4-bit cyclic shift S-box, and the same circuit structure is used to save resources in hardware implementation. A threshold scheme based on the principle of secret sharing is proposed to improve the overall security of the scheme against side-channel attacks. The input information is divided into three groups, and all operations are converted from GF(24) to GF(22) through a multiplier and a squarer, which further reduces the circuit consumption and improves the security of the algorithm. In the realization of the threshold scheme, virtual values are intro-duced to ensure that the scheme meets the uniformity, and the decomposition method is used in the inverter to re-duce the number of operations and the proportion of space. After theoretical deduction, the threshold scheme as a whole has the ability to resist first-order and second-order DPA attacks. The overall hardware implementation of the program uses a total of 2803 logic elements, which proves that it achieves the goal of lightweight while ensuring safety.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call