# US 2025/0211448 A1 · Storage device, operating method of controller, and system

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

- Number: US 2025/0211448 A1
- Document ID: US20250211448A1
- Status: Published application
- Kind: A1
- Application number: 18/750,245
- Filed: 2024-06-21
- Published: 2025-06-26
- Earliest claimed: 2023-12-20
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Sunghyun JIN; Mungyu BAE; Sungho YOON; Jisoo KIM; Younsung CHU
- Web page: https://patentgrep.com/patent/US20250211448A1

## CPC

- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/3247: {involving digital signatures}
- H04L 9/3271: {using challenge-response}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A storage device, an operating method of a controller, and a system. The storage device configured to perform a Secure Joint Test Action Group (JTAG) authentication based on token history information including a history of a number of times of use of at least one token, a hash value, and a temporary digital signature. Temporary authentication information includes a temporary token comprising a token identifier and a maximum count indicating a maximum number of times the temporary token is permitted to be used, a public key of an authentication server, a temporary public key and a temporary private key corresponding to the storage device, and a temporary digital signature generated for temporary public keys and the temporary token, the temporary digital signature generated based on a private key of the authentication server paired with the public key.

## Claims

### Claim 1

A storage device, comprising:
a one-time programmable (OTP) memory configured to store a hash value;
a non-volatile memory configured to store token history information including a history of a number of times of use of at least one token; and
a memory controller configured to
receive temporary authentication information, the temporary authentication information including
a temporary token comprising a token identifier and a maximum count indicating a maximum number of times the temporary token is permitted to be used,
a public key of an authentication server,
a temporary public key and a temporary private key corresponding to the storage device, and
a temporary digital signature generated for the temporary public key and the temporary token, the temporary digital signature generated based on a private key of the authentication server paired with the public key,
verify the public key based on the hash value,
check whether each of the temporary token and the temporary public key is valid by verifying the temporary digital signature based on the verified public key and a digital signature algorithm, and
determine whether to use the temporary public key, based on the temporary token that is valid and the token history information.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the memory controller is further configured to verify the public key based on the hash value and the public key.

### Claim 3 (depends on 1)

The storage device of claim 1, wherein the token history information further includes information indicating a maximum count and a token identifier of each of the at least one token, and
the memory controller is further configured to:
retrieve the token identifier of the temporary token from the token history information; and
determine, based on the maximum count of a token retrieved from the token history information, whether to use the temporary public key.

### Claim 4 (depends on 3)

The storage device of claim 3, wherein the memory controller is further configured to, when the maximum count of the retrieved token is not zero, determine to use the temporary public key, send a challenge comprising a random number to a computing device, and update the token history information by decreasing the maximum count of the retrieved token, and
wherein the memory controller is further configured to, when the maximum count of the retrieved token is zero, reject a Secure Joint Test Action Group (JTAG) authentication.

### Claim 5 (depends on 3)

The storage device of claim 3, wherein the token history information further includes information indicating a use count corresponding to a number of times of use of each of the at least one token,
wherein the memory controller is further configured to, when the use count of the retrieved token is less than the maximum count of the retrieved token, determine to use the temporary public key, send a challenge comprising a random number to a computing device, and update the token history information by increasing the use count of the retrieved token, and
wherein the memory controller is further configured to, when the use count of the retrieved token is equal to the maximum count of the retrieved token, reject a Secure JTAG authentication.

### Claim 6 (depends on 3)

The storage device of claim 3, wherein the memory controller is further configured to, when the token identifier of the temporary token is not retrieved from the token history information,
determine to use the temporary public key,
send a challenge comprising a random number to a computing device, and
update the token history information by storing the temporary token in a non-volatile memory.

### Claim 7 (depends on 6)

The storage device of claim 6, wherein the memory controller is further configured to control the non-volatile memory to encrypt the temporary token and store the encrypted temporary token.

### Claim 8 (depends on 1)

The storage device of claim 1, wherein the memory controller is further configured to, when determining to use the temporary public key,
receive a digital signature generated based on the temporary private key corresponding to the storage device; and
verify the digital signature based on the temporary public key that is verified and the digital signature algorithm.

### Claim 9

An operating method of a controller, the operating method comprising:
receiving temporary authentication information embedded in a computing device, the temporary authentication information including
a public key of an authentication server and a temporary public key for the controller,
a temporary token comprising a device identifier that specifies the controller, a maximum count, and a token identifier, and
a temporary digital signature generated based on a private key paired with the public key of the authentication server, the temporary public key, and the temporary token;
verifying the temporary authentication information based on a digital signature algorithm and token history information comprising a history of a number of times of use of at least one token; and
performing debugging of a Secure Joint Test Action Group (JTAG) by performing a challenge-response protocol through the challenge-response protocol based on results of the verifying.

### Claim 10 (depends on 9)

The operating method of claim 9, wherein the verifying of the temporary authentication information comprises:
verifying the public key based on a hash value and the public key;
checking whether each of the temporary token and the temporary public key is valid by verifying the temporary digital signature based on the verified public key and the digital signature algorithm; and
determining whether to use the temporary public key, based on the temporary token that is valid and the token history information comprising information on a maximum count and a token identifier of each of the at least one token.

### Claim 11 (depends on 10)

The operating method of claim 10, wherein the determining of whether to use the temporary public key comprises:
retrieving the token identifier of the temporary token from the token history information; and
determining, based on the maximum count of a token retrieved from the token history information, whether to use the temporary public key.

### Claim 12 (depends on 11)

The operating method of claim 11, wherein the token history information further comprises information indicating a use count corresponding to a number of times of use of each of the at least one token, and
the determining of whether to use the temporary public key further comprises approving a Secure JTAG authentication based on whether the use count of the retrieved token is less than the maximum count of the retrieved token.

### Claim 13 (depends on 12)

The operating method of claim 12, wherein the determining of whether to use the temporary public key further comprises updating the token history information by adding the temporary token to the token history information when the temporary token is not retrieved from the token history information.

### Claim 14 (depends on 13)

The operating method of claim 13, wherein the updated token history information is encrypted by the controller.

### Claim 15 (depends on 9)

The operating method of claim 9, wherein the performing of the debugging of the Secure JTAG comprises:
sending a challenge comprising a random number to the computing device;
receiving a digital signature generated based on a temporary private key corresponding to the controller from the computing device; and
verifying the digital signature based on the temporary public key that is verified and the digital signature algorithm.

### Claim 16

A system, comprising:
a computing device; and
a semiconductor device,
the computing device configured to execute an authentication program including temporary authentication information, the temporary authentication information including
a temporary token comprising a token identifier and a maximum count indicating a maximum number of times the temporary token is permitted to be used,
a public key of an authentication server,
a temporary public key and a temporary private key corresponding to the semiconductor device, and
a temporary digital signature generated for the temporary public key and the temporary token, the temporary digital signature generated based on a private key of the authentication server paired with the public key, and
the semiconductor device is configured to store a hash value and token history information comprising a history of a number of times of use of at least one token and perform a Secure Joint Test Action Group (JTAG) authentication based on the token history information, the hash value, and the temporary digital signature.

### Claim 17 (depends on 16)

The system of claim 16, wherein the semiconductor device is further configured to:
receive the temporary authentication information;
verify the public key based on the hash value;
check whether each of the temporary token and the temporary public key is valid by verifying the temporary digital signature based on the verified public key and a digital signature algorithm; and
determine whether to use the temporary public key, based on the temporary token that is valid and the token history information.

### Claim 18 (depends on 17)

The system of claim 17, wherein the token history information further comprises information indicating a maximum count and a token identifier of each of the at least one token, and
the semiconductor device is further configured to:
retrieve the token identifier of the temporary token from the token history information; and
determine, based on the maximum count of a token retrieved from the token history information, whether to use the temporary public key.

### Claim 19 (depends on 18)

The system of claim 18, wherein the token history information further comprises information indicating a use count corresponding to a number of times of use of each of the at least one token,
wherein the semiconductor device is further configured to, when the use count of the retrieved token is less than the maximum count of the retrieved token, determine to use the temporary public key, send a challenge comprising a random number to the computing device, and update the token history information by increasing the use count of the retrieved token, and
wherein the semiconductor device is further configured to, when the use count of the retrieved token is equal to the maximum count of the retrieved token, reject the Secure JTAG authentication.

### Claim 20 (depends on 17)

The system of claim 17, wherein the semiconductor device is further configured to, when the token identifier of the temporary token is not retrieved from the token history information,
determine to use the temporary public key,
send a challenge comprising a random number to the computing device, and
update the token history information by adding the temporary token to the token history information.
