Lightweight design of SM4 algorithm and realization of threshold scheme

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 cycli...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:Journal of physics. Conference series 2021-04, Vol.1871 (1), p.12124
Hauptverfasser: Chen, B W, Xia, X, Liang, Q M, Zhong, W D
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung: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 (2 4 ) to GF (2 2 ) 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.
ISSN:1742-6588
1742-6596
DOI:10.1088/1742-6596/1871/1/012124