IP Library › Granted Patent US 12,639,478
Granted Patent B2
US 12,639,478 · App. 18/189,412 · Granted May 26, 2026

Storage device having an RPMB reset function and RPMB management method thereof

Inventors: Jimin Ryu (Suwon-si, KR); Yonghwan Song (Suwon-si, KR); Jaegyu Lee (Suwon-si, KR); Dong-Min Kim (Suwon-si, KR); Byungjune Song (Suwon-si, KR); Myeongjong Lee (Suwon-si, KR); Daejin Jung (Suwon-si, KR)
Assignee: Samsung Electronics Co., Ltd.
G06F21/79G06F21/556G06F21/602
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 12,639,478
App. No.
18/189,412
Granted
May 26, 2026
Kind
B2
Abstract

A method for managing a replay protection memory block (RPMB) of a storage device includes allocating an RPMB master region managed separately from an RPMB region in which an RPMB key is stored in the RPMB of the storage device, programming a master key into the RPMB master region responsive to a request from a host, receiving a reset request for the RPMB region using the master key from the host, resetting the RPMB key in response to the reset request for the RPMB region, and receiving a reset lock request for the RPMB region from the host.

Claims (44)

1 . A method for managing a replay protected memory block (RPMB) of a storage device, comprising:

allocating an RPMB master region, which is managed separately from an RPMB region in which an RPMB key is stored, in the RPMB of the storage device;

programming a master key into the RPMB master region responsive to a request from a host;

receiving a reset request for the RPMB region using the master key from the host;

resetting the RPMB key in response to the reset request for the RPMB region; and

receiving a reset lock request for the RPMB region from the host.

2 . The method of claim 1 , wherein an attribute for indicating whether the RPMB master region is locked has a one-time write characteristic.

3 . The method of claim 1 , wherein the master key and a write counter of the master key are stored in the RPMB master region.

4 . The method of claim 1 , wherein the reset request for the RPMB region comprises:

requesting, by the host, a value of a write counter of the master key to the storage device; and

transmitting, by the host, a reset command for the RPMB region including a first message authentication code generated by combining the value of the write counter of the master key and the master key to the storage device.

5 . The method of claim 4 , wherein the resetting the RPMB key comprises:

generating, by the storage device, a second message authentication code using the master key programmed in the RPMB master region and the write counter; and

performing a reset on the RPMB region based on a comparison result between the first message authentication code and the second message authentication code.

6 . The method of claim 5 , wherein the resetting of the RPMB region includes an operation of deleting the RPMB key stored in the RPMB region.

7 . The method of claim 1 , further comprising:

receiving a master region lock request for blocking a program operation into the RPMB master region.

8 . The method of claim 7 , further comprising:

setting, by the storage device, an attribute of the RPMB master region to a locked state according to the master region lock request.

9 . The method of claim 1 , wherein the reset request for the RPMB region includes an initialization level of the RPMB region, and a reset range of the RPMB region, which is selected according to the initialization level.

10 . The method of claim 9 , wherein the reset of one or more of the RPMB key, a write counter of the master key, and RPMB data is determined according to the initialization level.

11 . The method of claim 9 , wherein the reset request for the RPMB region includes a query request for the initialization level supported by the storage device.

12 . A storage device comprising:

a non-volatile memory device; and

a storage controller configured to access the nonvolatile memory device responsive to a request of a host,

wherein the storage controller is configured to divide and manage a replay protected memory block (RPMB) of the nonvolatile memory device into an RPMB region in which an RPMB key is stored and an RPMB master region in which a master key is stored, and

wherein the storage controller is configured to program the master key in the RPMB master region responsive to a request from the host and to reset the RPMB region in response to a reset request from the host for the RPMB region based on the master key.

13 . The device of claim 12 , wherein the storage controller is configured to support an initialization level defining a reset range of the RPMB region, and to provide the initialization level to the host responsive to a request from the host.

14 . The device of claim 13 , wherein the initialization level includes:

a first initialization level for resetting the RPMB key stored in the RPMB region;

a second initialization level for resetting the RPMB key and a write counter of the RPMB key; and

and a third initialization level for resetting the RPMB key, the write counter, and RPMB data stored in the RPMB region.

15 . The device of claim 12 , wherein the storage controller is configured to receive a reset lock request for the RPMB region based on the master key from the host, and to block reset of the RPMB region in response to the reset lock request.

16 . The device of claim 12 , wherein the storage controller is configured to receive a master region lock request for blocking a program operation into the RPMB master region.

17 . The device of claim 16 , wherein the storage controller is configured to set an attribute of the RPMB master region to a locked state in response to the master region lock request.

18 . A management method of a replay protected memory block (RPMB) of a storage device, comprising:

allocating an RPMB master region managed separately from an RPMB region in which an RPMB key is stored in the RPMB of the storage device;

programming a master key in the RPMB master region responsive to a request of a host;

requesting, by the host, to reset the RPMB region of the storage device using the RPMB master key; and

setting a reset lock to block resetting of the RPMB region responsive to a request of the host.

19 . The method of claim 18 , wherein the storage device applies a reset range of the RPMB region according to an initialization level, the method further comprising:

providing, by the storage device, the initialization level to the host responsive to an initialization level inquiry request of the host.

20 . The method of claim 18 , further comprising:

setting, by the storage device, an attribute of the RPMB master region to a locked state responsive to a request for locking the master region from the host.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 24, 2023
From: RYU, JIMIN; SONG, YONGHWAN; LEE, JAEGYU; KIM, DONG-MIN; SONG, BYUNGJUNE; LEE, MYEONGJONG; JUNG, DAEJIN
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 063091/0115 →
Priority Claims (2)
KR 10-2022-0087699 · Jul 15, 2022 · national
KR 10-2022-0129007 · Oct 7, 2022 · national
Continuity (1)
Related Publication 20240020426A1 · Jan 18, 2024
References Cited (12)
US 7444682B2 · Li et al. · 2008 [cited by applicant]
US 10768831B2 · Keeth et al. · 2020 [cited by applicant]
US 11321468B2 · Cariello et al. · 2022 [cited by applicant]
US 20160203086A1 · Ng et al. · 2016 [cited by applicant]
US 20200014544A1 · Sela et al. · 2020 [cited by applicant]
US 20210203496A1 · Cariello et al. · 2021 [cited by applicant]
US 20210234708A1 · Van Antwerpen · 2021 [cited by examiner]
US 20220164293A1 · Pearson et al. · 2022 [cited by applicant]
US 20220164487A1 · Gyllenskog et al. · 2022 [cited by applicant]
Extended European Search Report corresponding to EP 23171946.9; Dated Nov. 29, 2023, (8 pages). [cited by applicant]
JEDEC Standard, “Universal Flash Storage (UFS), Version 3.1”, JEDEC Standard No. JESD220E, JEDEC Solid State Technology Association, Jan. 2020, (421 pages). [cited by applicant]
JEDEC Standard, “Universal Flash Storage, Version 4.0”, JEDEC Standard No. JESD220F; Retrieved Nov. 16, 2023, from https://www.jedec.org/standards-documents/docs/jesd220f, Aug. 2022, (2 pages). [cited by applicant]