US 12,149,620 B2
Processor with an elliptic curve cryptographic instruction for elliptic curve cryptographic algorithm and a data processing method thereof
Yanting Li, Beijing (CN); Zhenhua Huang, Beijing (CN); Yingbing Guan, Shanghai (CN); Yun Shen, Beijing (CN); Lei Yi, Xi'an (CN); and Shuang Yang, Shanghai (CN)
Assigned to SHANGHAI ZHAOXIN SEMICONDUCTOR CO., LTD., Shanghai (CN)
Filed by Shanghai Zhaoxin Semiconductor Co., Ltd., Shanghai (CN)
Filed on Jun. 10, 2022, as Appl. No. 17/837,627.
Claims priority of application No. 202111020354.9 (CN), filed on Sep. 1, 2021.
Prior Publication US 2023/0069234 A1, Mar. 2, 2023
Int. Cl. H04L 9/08 (2006.01); H04L 9/30 (2006.01); H04L 9/32 (2006.01)
CPC H04L 9/3066 (2013.01) [H04L 9/0825 (2013.01); H04L 9/3236 (2013.01); H04L 9/3252 (2013.01)] 35 Claims
OG exemplary drawing
 
28. A method for performing an elliptic curve cryptographic algorithm using a processor, comprising:
in response to a first elliptic curve cryptographic instruction of an instruction set architecture, reading a Hash value of data from a first storage space of a system memory, obtaining a public key, obtaining a digital signature to be verified, performing a signature verification procedure using the elliptic curve cryptographic algorithm on the Hash value based on the public key and the digital signature to be verified to generate a verified result, and programming the verified result into a register;
generating a plurality of microinstructions based on microcode in response to the first elliptic curve cryptographic instruction; and
according to the microinstructions, if a control word indicates a signature verification code, performing the signature verification procedure on the Hash value based on the public key and the digital signature to be verified.