# US 2023/0273977 A1 · Managing ownership of an electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0273977 A1
- Document ID: US20230273977A1
- Status: Published application
- Kind: A1
- Application number: 18/114,261
- Filed: 2023-02-26
- Published: 2023-08-31
- Earliest claimed: 2022-02-27
- Assignees: Microchip Technology Incorporated
- Applicants: Microchip Technology Incorporated
- Inventors: Eileen Marando; Richard Wahler; Arun Krishnan; Randy Goldberg
- Web page: https://patentgrep.com/patent/US20230273977A1

## CPC

- G06F 21/10: Protecting distributed programs or content, e.g. vending or licensing of copyrighted material (protection in video systems or pay television H04N7/16) {; Digital rights management [DRM]}
- G06F 21/575: {Secure boot}
- G06F 2221/2129: Authenticate client device independently of the user
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A device with one-time-programmable (OTP) memory, boot code, volatile memory, and non-volatile memory. Boot code may use information in OTP to authenticate code of an implicit owner of the electronic device; receive a first create owner container request; create a first owner container comprising a first signed data image; store the first owner container; and use the first signed data image to authenticate first executable code associated with the first owner. Boot code may transfer ownership from the first owner to a second owner, including authenticating a signed transfer of ownership command using a key stored in the first owner container and creating a second owner container comprising a second signed data image associated with the second owner; storing the second owner container; revoking the first owner container; and using the second signed data image to authenticate second executable code associated with the second owner of the electronic device.

## Claims

### Claim 1

A system, comprising:
an electronic device having:
a one-time-programmable (OTP) memory;
a boot code;
a volatile memory; and
a non-volatile memory;
the boot code executable by a processor to:
use information stored in the OTP memory to authenticate code associated with an implicit owner of the electronic device;
receive, from the authenticated code associated with the implicit owner of the electronic device, a first create owner container request;
in response to the first create owner container request, create a first owner container for a first owner of the electronic device, the first owner container comprising a first signed data image associated with the first owner of the electronic device;
store the first owner container in the non-volatile memory; and
use the first signed data image associated with the first owner of the electronic device to authenticate first executable code associated with the first owner of the electronic device.

### Claim 2 (depends on 1)

The system of claim 1, wherein the boot code comprises immutable code stored in a read-only memory.

### Claim 3 (depends on 1)

The system of claim 1, wherein the boot code comprises authenticated code stored in the non-volatile memory or authenticated code stored in the volatile memory.

### Claim 4 (depends on 1)

The system of claim 1, wherein:
the first signed data image associated with the first owner of the electronic device includes configuration information and secret information; and
the boot code executable by the processor to use the first signed data image associated with the first owner of the electronic device to authenticate the first executable code associated with the first owner of the electronic device comprises the boot code executable by the processor to use the configuration information and secret information to authenticate the first executable code associated with the first owner of the electronic device.

### Claim 5 (depends on 1)

The system of claim 1, wherein:
the first create owner container request comprises a signed request; and
the boot code is executable by the processor to authenticate, using a public key, the first create owner container request.

### Claim 6 (depends on 1)

The system of claim 1, wherein the first owner container includes:
a container header;
container content including owner configuration information associated with the first owner of the electronic device, and an owner transfer authorization key; and
a container signature.

### Claim 7 (depends on 6)

The system of claim 6, wherein the container header comprises a replay protected monotonic counter (RPMC).

### Claim 8 (depends on 1)

The system of claim 1, wherein the boot code executable by the processor to store the first owner container in the non-volatile memory comprises the boot code executable by the processor to store two copies of the first owner container in the non-volatile memory.

### Claim 9 (depends on 8)

The system of claim 8, wherein the boot code is executable by the processor to provide an indication that ownership is established in response to a confirmation that the two copies of the first owner container are successfully stored in the non-volatile memory.

### Claim 10 (depends on 1)

The system of claim 1, wherein the non-volatile memory comprises a serial peripheral interface (SPI) flash memory or electrically erasable programmable read-only memory (EEPROM).

### Claim 11 (depends on 1)

The system of claim 1, comprising:
the boot code executable by the processor to perform a transfer of ownership from the first owner of the electronic device to a second owner of the electronic device, including the boot code executable by the processor to:
authenticate a signed transfer of ownership command using a key stored in the first owner container;
create a second owner container in response to successful authentication of the signed transfer of ownership command, the second owner container comprising a second signed data image associated with the second owner of the electronic device;
store the second owner container in the non-volatile memory;
revoke the first owner container; and
use the second signed data image associated with the second owner of the electronic device to authenticate second executable code associated with the second owner of the electronic device.

### Claim 12 (depends on 11)

The system of claim 11, wherein revoking the first owner container comprises programming a bit in the OTP memory corresponding to the second owner container.

### Claim 13

A method, comprising:
for an electronic device having a one-time-programmable (OTP) memory and non-volatile memory, using information stored in the OTP memory to authenticate code associated with an implicit owner of the electronic device;
receiving, from the authenticated code associated with the implicit owner of the electronic device, a first create owner container request;
in response to the first create owner container request, creating a first owner container, the first owner container comprising a first signed data image associated with the first owner of the electronic device;
storing the first owner container in the non-volatile memory; and
using the first signed data image associated with the first owner of the electronic device to authenticate first executable code associated with the first owner of the electronic device.

### Claim 14 (depends on 13)

The method of claim 13, comprising:
authenticating a signed transfer of ownership command using a key stored in the first owner container;
in response to successful authentication of the signed transfer of ownership command, creating a second owner container for a second owner of the electronic device, the second owner container comprising a second signed data image associated with the second owner of the electronic device;
storing the second owner container in the non-volatile memory;
revoking the first owner container; and
using the second signed data image associated with the second owner of the electronic device to authenticate second executable code associated with the second owner of the electronic device.

### Claim 15 (depends on 14)

The method of claim 14, wherein revoking the first owner container comprises programming a bit in the OTP memory corresponding to the second owner container.

### Claim 16 (depends on 13)

The method of claim 13, comprising:
authenticating the first create owner container request using a public key.

### Claim 17 (depends on 13)

The method of claim 13, wherein using the first signed data image associated with the first owner of the electronic device to authenticate the first executable code associated with the first owner of the electronic device comprises using configuration information and secret information from the signed data image associated with the first owner of the electronic device to authenticate the first executable code associated with the first owner of the electronic device.

### Claim 18

A system, comprising:
an electronic device having:
a one-time programmable (OTP) memory, the OTP memory including configuration information corresponding to an implicit owner of the electronic device;
an immutable boot code stored in read-only memory; and
a non-volatile memory;
the immutable boot code executable by a processor to:
determine whether a first owner container exists in the non-volatile memory;
in response to determining the first owner container does not exist in the non-volatile memory:
prohibit loading executable code that cannot be authenticated using the configuration information corresponding to the implicit owner of the electronic device;
authenticate, using the configuration information corresponding to the implicit owner of the electronic device, first executable code associated with the implicit owner of the electronic device;
load the authenticated first executable code associated with the implicit owner of the electronic device;
receive, from the authenticated executable code associated with the implicit owner of the electronic device, a first create owner container request;
create the first owner container in response to the first create owner container request, the first owner container comprising a first signed data image associated with a first owner of the electronic device; and
store the first owner container in the non-volatile memory; and
in response to determining the first owner container exists in the non-volatile memory:
prohibit loading executable code that cannot be authenticated using the first signed data image associated with the first owner of the electronic device;
authenticate, using the first signed data image associated with the first owner of the electronic device, first executable code associated with the first owner of the electronic device; and
load the authenticated first executable code associated with the first owner of the electronic device.

### Claim 19 (depends on 18)

The system of claim 18, wherein:
the first signed data image associated with a first owner of the electronic device includes configuration information and secret information; and
the immutable boot code executable by the processor to authenticate the first executable code associated with the first owner of the electronic device comprises the immutable boot code executable by the processor to authenticate, using the configuration information and secret information, the first executable code associated with the first owner of the electronic device.

### Claim 20 (depends on 18)

The system of claim 18, wherein the immutable boot code, in response to determining the first owner container exists in the non-volatile memory, is executable by the processor to perform a transfer of ownership process from the first owner of the electronic device to a second owner of the electronic device, including the immutable boot code executable by the processor to:
authenticate a signed transfer of ownership command using a key stored in the first owner container;
create a second owner container for the second owner of the electronic device in response to successful authentication of the signed transfer of ownership command, the second owner container comprising a second signed data image associated with the second owner of the electronic device;
store the second owner container in the non-volatile memory; and
revoke the first owner container.

### Claim 21 (depends on 20)

The system of claim 20, wherein the immutable boot code is executable by the processor to determine whether the second owner container exists in the non-volatile memory and in response to determining the second owner container exists in the non-volatile memory:
prohibit loading executable code that cannot be authenticated using the second signed data image associated with the second owner of the electronic device;
authenticate, using the second signed data image associated with the second owner of the electronic device, second executable code associated with the second owner of the electronic device; and
load the authenticated second executable code associated with the second owner of the electronic device.

### Claim 22 (depends on 18)

The system of claim 18, wherein:
the OTP memory includes a current container replay protected monotonic counter (RPMC) field;
the first signed data image associated with the first owner of the electronic device includes a container header RPMC field; and
the immutable boot code executable by the processor to authenticate the first executable code associated with the first owner of the electronic device comprises the immutable boot code executable by the processor to authenticate, by ensuring the current container RPMC field and the container header RPMC field both have the same value, the first executable code associated with the first owner of the electronic device.
