| CPC H04L 9/3066 (2013.01) [G06F 9/223 (2013.01); G06F 9/30101 (2013.01)] | 19 Claims |

|
1. A processor with an elliptic curve cryptographic algorithm, comprising:
a first register, storing a private key pointer, pointing to a private key; and
a third register;
wherein:
in response to a single elliptic curve cryptographic instruction of an instruction set architecture, the processor reads a ciphertext input from a first storage space within a system memory, performing a decryption procedure using the elliptic curve cryptographic algorithm on the ciphertext input based on the private key obtained by referring to the first register to decrypt the ciphertext input and generate a plaintext output, and programming the plaintext output into a second storage space within the system memory;
the third register stores an intermediate variable pointer that points to a third storage space within the system memory;
an intermediate variable generated by the processor while performing the decryption procedure on the ciphertext input is stored in the third storage space as indicated by the intermediate variable pointer obtained from the third register; and
prior to performing the decryption procedure on the ciphertext input, the processor stores a starting address of the third storage space in the third register, and resets all bytes in the third storage space to zero.
|