Patent ID: 9740837
Date: 2017-08-22
CPC Classifications: G06F

Claim:
1. An apparatus for preventing cloning of code, the apparatus comprising: a memory configured to store the code, which includes unencrypted code and a fragment of encrypted code; an authentication module configured to receive and decrypt the fragment of encrypted code from the memory into a fragment of decrypted code, and to store the fragment of decrypted code in an authentication module buffer; and a device configured to execute the unencrypted code from the memory and to execute the fragment of decrypted code from the authentication module buffer, wherein the fragment of encrypted code is personalized to the device, wherein the authentication module is further configured to decrypt the fragment of encrypted code while the device is executing the unencrypted code from the memory, and wherein the device is further configured to, subsequent to the decryption of the fragment of encrypted code, perform execution branching from the memory to the authentication module buffer to execute the fragment of decrypted code from the authentication module buffer.