Firmware encrypting and decrypting method and an apparatus using the same
First Claim
Patent Images
1. A firmware encryption method, comprising:
- receiving a predetermined special key data;
generating an encryption key data from the predetermined special key data using a predetermined random number;
generating an encryption data corresponding to firmware address information to be stored in a memory based on the encryption key data; and
generating an encrypted firmware data by performing an XOR operation on the encryption data and firmware data to store the encrypted firmware data based on the firmware address information.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of encrypting and decrypting a firmware used in electronic devices and an apparatus using the same. The firmware encryption method includes, receiving a predetermined special key data; generating an encryption key data from the predetermined special key data using a predetermined random number; generating an encryption data corresponding to firmware address information to be stored to a memory based on the encryption key data; and generating an encrypted firmware data by performing an XOR operation on the encryption data and firmware data to be stored in the firmware address.
-
Citations
23 Claims
-
1. A firmware encryption method, comprising:
-
receiving a predetermined special key data;
generating an encryption key data from the predetermined special key data using a predetermined random number;
generating an encryption data corresponding to firmware address information to be stored in a memory based on the encryption key data; and
generating an encrypted firmware data by performing an XOR operation on the encryption data and firmware data to store the encrypted firmware data based on the firmware address information. - View Dependent Claims (2, 3)
-
-
4. A firmware decryption method, comprising:
-
reading a predetermined special key data stored in a memory upon determining that a condition to operate the firmware is satisfied;
generating an encryption key data based on the predetermined special key data;
generating an encryption data corresponding to firmware address information to read an encrypted firmware data from the memory; and
generating an decrypted firmware data by performing an XOR operation on the encryption data and the firmware data read based on the firmware address information to decrypt the encrypted firmware data. - View Dependent Claims (5, 6)
-
-
7. A firmware encryption apparatus, comprising:
-
an encryption key generator generating encryption key data from a predetermined input special key data using a predetermined random number; and
a firmware encryption processing unit generating an encryption data corresponding to firmware address information based on the encryption key data and generating an encrypted firmware data by performing an XOR operation on the encryption data and firmware data to store the encrypted firmware data based on the firmware address information. - View Dependent Claims (8, 9, 13, 14, 15, 16, 17)
-
-
10. A firmware decryption apparatus comprising:
-
a memory storing an encrypted firmware and a predetermined special key data;
a microprocessor reading the predetermined special key data from the memory upon determining that a condition to operate the firmware is satisfied, generating firmware address information to read the encrypted firmware from the memory and a read control signal and executing a program included in the encrypted firmware;
an encryption key generator generating encryption key data from the predetermined special key data using a predetermined random number; and
a firmware decryption processing unit generating an encryption data corresponding to the firmware address information using the encryption key data and generating decrypted firmware data by performing an XOR operation on the encryption data and the encrypted firmware data read based on the firmware address information. - View Dependent Claims (11, 12)
-
-
18. A method to encrypt firmware data of an electronic device, comprising:
-
generating an encryption data corresponding to an address in a memory based on an encryption key data generated from a predetermined special key data using a random number; and
encrypting the firmware data by performing an XOR operation on the encryption data and the firmware data, and storing the encrypted firmware data to the address in memory. - View Dependent Claims (19)
-
-
20. A method to decrypt an encrypted firmware data of an electronic device, comprising:
-
generating an encryption key data using a predetermined special key data stored in a memory upon determining that a condition to use the encrypted firmware data is satisfied;
generating an encryption data corresponding to an address in the memory to read the encrypted firmware data; and
decrypting the encrypted firmware data by performing an XOR operation on the generated encryption data and the encrypted firmware data read from the memory.
-
-
21. The method according to claim 21, wherein the encryption key data is composed of predetermined bytes of the firmware data.
-
22. A computer readable medium recorded with a program to execute a firmware encryption operation, the operation comprising:
-
generating an encryption data corresponding to an address in a memory based on an encryption key data generated from a predetermined special key data using a random number; and
encrypting the firmware data by performing an XOR operation on the encryption data and the firmware data, and storing the encrypted firmware data to the address in memory.
-
-
23. A computer readable medium recorded with a program to execute a firmware decryption operation, the operation comprising:
-
generating an encryption key data using a predetermined special key data stored in a memory upon determining that a condition to use the encrypted firmware data is satisfied;
generating an encryption data corresponding to an address in the memory to read the encrypted firmware data; and
decrypting the encrypted firmware data by performing an XOR operation on the generated encryption data and the encrypted firmware data read from the memory.
-
Specification