IP Library › Granted Patent US 10,206,114
Granted Patent B2
US 10,206,114 · App. 14/644,864 · Granted Feb 12, 2019

Mobile system including firmware verification function and firmware update method thereof

Inventors: Hyuksang Choi (Seoul, KR); Yongjae Sung (Seoul, KR); Jun Ho Lee (Hwaseong-si, KR); Wonill Lee (Yongin-si, KR); Hyosun Hwang (Bucheon-si, KR)
Assignee: SAMSUNG ELECTRONICS CO., LTD.
H04W12/10G06F8/654H04L9/3236H04L9/3247H04L63/12H04L2209/80
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,206,114
App. No.
14/644,864
Granted
Feb 12, 2019
Kind
B2
Abstract

Provided are a method of updating firmware of a device, a device, and a mobile system including the device. The method includes: receiving, from a host, a first hash value and a signature, the first hash value corresponding to a firmware image at the host; performing a pre-verify operation for at least one of integrity verification and signature certification on the firmware image using the received first hash value and the received signature; receiving the firmware image from the host according to a result of the pre-verify operation; and obtaining a second hash value from the received firmware image to perform a post-verify operation for at least one of integrity verification and signature certification on the received firmware image.

Claims (41)

1. A method of updating firmware of a device included in a mobile system, the method comprising:

receiving, by the device from a host, a first hash value and a signature, the first hash value generated by the host from a firmware image at the host;

prior to receiving the firmware image from the host, performing a pre-verify operation for at least one of integrity verification and signature certification on the firmware image using the received first hash value and the received signature;

receiving the firmware image from the host according to a result of the pre-verify operation; and

obtaining a second hash value from the received firmware image to perform a post-verify operation for at least one of integrity verification and signature certification on the received firmware image,

wherein the device and the host are both included in a same mobile terminal.

2. The method of claim 1 , wherein the received first hash value is a value obtained from the firmware image by performing a hash operation using a hash algorithm.

3. The method of claim 1 , wherein the performing the pre-verify operation comprises:

obtaining a third hash value from the received signature according to a signature algorithm; and

comparing the received first hash value and the obtained third hash value.

4. The method of claim 3 , wherein the receiving the firmware image from the host comprises requesting a transfer of the firmware image from the host in response to the received first hash value coinciding with the obtained third hash value according to the comparing.

5. The method of claim 1 , wherein the obtaining the second hash value comprises:

calculating the second hash value from the firmware image received from the host; and

comparing the received first hash value and the calculated second hash value.

6. The method of claim 5 , further comprising setting an operation condition so as to drive the device with the firmware image in response to the received first hash value coinciding with the calculated second hash value according to the comparing.

7. The method of claim 5 , further comprising requesting a retransfer of the firmware image from the host in response to the received first hash value not coinciding with the calculated second hash value according to the comparing.

8. The method of claim 1 , wherein the received signature is decoded using a public key while the pre-verify operation is performed.

9. A method of updating firmware of a device included in a mobile system, the method comprising:

generating, by a host, a first hash value from a firmware image via a hash operation;

providing the generated first hash value and a signature to the device;

prior to providing the firmware image to the device, receiving, from the device, a result of performing a pre-verify operation for at least one of integrity verification and signature certification on the firmware image using the provided first hash value and the provided signature;

providing the firmware image to the device according to the received result of the pre-verify operation; and

receiving, from the device, a result of a post-verify operation in which a second hash value obtained from the provided firmware image is compared with the provided first hash value for integrity verification on the provided firmware image,

wherein the device and the host are both included in a same mobile terminal.

10. The method of claim 9 , wherein the providing the firmware image to the device comprises providing the firmware image to the device in response to the received result of the pre-verify operation indicating that at least one of integrity of the firmware image and the provided signature is valid.

11. The method of claim 9 , further comprising requesting, from an update server, resending of at least one of the firmware image and the signature in response to the received result of the pre-verify operation indicating that at least one of integrity of the firmware image and the provided signature is invalid.

12. The method of claim 9 , further comprising retransferring the firmware image to the device in response to the received result of the post-verify operation indicating that integrity of the provided firmware image is invalid.

13. A mobile system comprising:

a host adapted to generate a first hash value from a firmware image; and

a device adapted to perform a pre-verify operation on the firmware image, prior to receiving the firmware image from the host, based on the generated first hash value received from the host and a signature received from the host, and to receive the firmware image from the host according to a result of the pre-verify operation,

wherein the device and the host are both included in a same mobile terminal, and

wherein the device obtains a second hash value from the received firmware image and performs a post-verify operation in which the obtained second hash value is compared with the received first hash value.

14. The mobile system of claim 13 , wherein the host retransfers at least one of the first hash value and the signature to the device in response to the result of the pre-verify operation indicating that the firmware image is invalid.

15. The mobile system of claim 13 , wherein the host retransfers the firmware image to the device when a result of the post-verify operation indicates that the firmware image is invalid.

16. The mobile system of claim 13 , wherein the device comprises:

a nonvolatile memory adapted to store the received firmware image or a previous version of the firmware image; and

a central processing unit adapted to perform at least one of a hash operation and a signature operation for at least one of the pre-verify operation and the post-verify operation.

17. The mobile system of claim 16 , wherein the nonvolatile memory has a capacity sufficient to store only one of the received firmware image and the previous version of the firmware image at a same time.

18. The mobile system of claim 13 , wherein the device comprises:

a nonvolatile memory adapted to store the received firmware image or a previous version of the firmware image; and

a hardware intellectual property adapted to perform at least one of a hash operation and a signature operation for at least one of the pre-verify operation and the post-verify operation.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 11, 2015
From: CHOI, HYUKSANG; SUNG, YONGJAE; LEE, JUN HO; LEE, WONILL; HWANG, HYOSUN
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 035188/0267 →
Priority Claims (1)
KR 10-2014-0028458 · Mar 11, 2014 · national
Continuity (1)
Related Publication 20150261521A1 · Sep 17, 2015
Cited By (2)
US 12,651,068 US 12,683,809