Mask operation method and device of SM2 algorithm

The invention belongs to the technical field of SM2 cryptographic algorithms, and particularly relates to a mask operation method and device of an SM2 algorithm, the mask operation method masks a random number k in [k] G operation by presetting a point and a random number, and the [k] G calculation...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: PENG JINHUI, WEI ZHIGANG, LIU WUZHONG, LEI ZONGHUA, XI DAOBIN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention belongs to the technical field of SM2 cryptographic algorithms, and particularly relates to a mask operation method and device of an SM2 algorithm, the mask operation method masks a random number k in [k] G operation by presetting a point and a random number, and the [k] G calculation in the SM2 algorithm operation process specifically comprises the following steps: presetting a point P0 = [nr] G and a first random number r in a chip; wherein P0 is a point on a finite field elliptic curve, n is an order of the elliptic curve, and G is a base point on the elliptic curve; a secondrandom number d is generated in the chip, and a generation point P1 = [d] G is calculated; a third random number k = dr is calculated and generated through the first random number r and the second random number d; A point P2 = [k] G = [dr] G = [d] G [r] G = [d] G + [nr] G = P0 + P1 is generated by calculation. The mask operation device comprises a preset module, a random number generation module,a random number operation