SM2 operation method, system and device and computer storage medium

The invention discloses an SM2 operation method, system and device and a computer storage medium. The method comprises the steps of obtaining to-be-operated data; converting the to-be-operated data into n-bit b-system integer data; performing iteration and shift operation on the integer data to obta...

Full description

Saved in:
Bibliographic Details
Main Authors LI XIANQIANG, ZHU BEIFEN, ZENG WEI, WANG PENG, ZHOU HAITAO, LUO YINGLUO
Format Patent
LanguageChinese
English
Published 13.09.2019
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses an SM2 operation method, system and device and a computer storage medium. The method comprises the steps of obtaining to-be-operated data; converting the to-be-operated data into n-bit b-system integer data; performing iteration and shift operation on the integer data to obtain an intermediate operation result; judging whether the intermediate operation result is greater than or equal to a preset parameter, if yes, taking a difference value between the intermediate operation result and the preset parameter as a target operation result of the to-be-operated data, and ifnot, taking the intermediate operation result as a target operation result of the to-be-operated data; and performing operation on the to-be-operated data based on the target operation result and theSM2 algorithm. In the SM2 operation method provided by the invention, the integer data is iterated and shifted, so that the number of times of single-precision multiplication operation is reduced, theoperation speed is high, a
Bibliography:Application Number: CN201910507120