# US 2024/0004987 A1 · Systems and methods for authentication

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

- Number: US 2024/0004987 A1
- Document ID: US20240004987A1
- Status: Published application
- Kind: A1
- Application number: 18/369,433
- Filed: 2023-09-18
- Published: 2024-01-04
- Earliest claimed: 2019-02-11
- Inventors: WILLIAM GUIE RIVARD
- Web page: https://patentgrep.com/patent/US20240004987A1

## CPC

- G06F 21/44: Program or device authentication
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- G06F 21/445: {by mutual authentication, e.g. between devices or programs}
- G06F 21/72: in cryptographic circuits
- G06F 21/86: Secure or tamper-resistant housings
- G06K 7/10297: {arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092 (cryptographic protocols H04L9/00; network security protocols H04L63/00; real-time communication protocols in data switching networks H04L65/00; network protocols for data switching network services H04L67/00)}
- G06K 19/10: at least one kind of marking being used for authentication, e.g. of credit or identity cards (verification of coded identity or credit cards in mechanisms actuated by them G07F7/12)
- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L 63/0869: {for achieving mutual authentication (cryptographic mechanisms or cryptographic arrangements for mutual authentication H04L9/3273)}
- H04W 12/06: Authentication
- H04W 12/47: using near field communication [NFC] or radio frequency identification [RFID] modules
- H04L 2209/805: Lightweight hardware, e.g. radio-frequency identification [RFID] or sensor
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

An authentication method for a tag device includes exchanging authentication codes between the tag device and an authentication server to perform mutual authentication. A reader device acts as a communications bridge between the tag device and the authentication server. The reader device may observe mutual authentication between the tag device and the authentication server as an indicator that the tag device is authentic. A failure of mutual authentication indicates that the tag device is not authentic.

## Claims

### Claim 1

A tag device, comprising:
a first interface circuit, configured to transmit data and receive data through a first wireless communication channel;
a nonvolatile memory circuit with tag state data stored therein, wherein the tag state data comprises a code sequence index and at least one key; and
a first circuit coupled to the first interface circuit and the nonvolatile memory circuit,
wherein the tag device is configured to:
receive, by the first interface circuit, a first server authentication code;
determine, by the first circuit, that the first server authentication code is valid based on the tag state data;
generate, by the first circuit, a first tag authentication code, a second tag authentication code, and a third tag authentication code based on the tag state data and the first server authentication code;
transmit, by the first interface circuit, the first tag authentication code in response to determining that the first server authentication code is valid;
receive, by the first interface circuit, a second server authentication code;
determine, by the first circuit, that the second server authentication code is equal to the second tag authentication code; and
in response to the first circuit determining that the second server authentication code is equal to the second tag authentication code:
transmit, by the first interface circuit, the third tag authentication code; and
increment, by the first circuit, the code sequence index stored in the nonvolatile memory.

### Claim 2 (depends on 1)

The tag device of claim 1, wherein the first interface circuit is a near field communication (NFC) interface circuit.

### Claim 3 (depends on 1)

The tag device of claim 1, wherein the first interface circuit is a radio frequency identification (RFID) interface circuit.

### Claim 4 (depends on 1)

The tag device of claim 1, further comprising a second interface circuit, configured to transmit data and receive data through a second wireless communication channel, wherein the second interface circuit is a near field communication (NFC) interface circuit and the first interface circuit is a radio frequency identification (RFID) interface circuit.

### Claim 5 (depends on 1)

The tag device of claim 1, wherein the first circuit comprises a control logic circuit and a sequence generator circuit.

### Claim 6 (depends on 1)

The tag device of claim 1, wherein to determine that the first server authentication code is valid, the first circuit is configured to:
generate a fourth tag authentication code and a fifth tag authentication code based on the tag state data; and
determine that the first server authentication code is equal to the fourth tag authentication code.

### Claim 7 (depends on 6)

The tag device of claim 6, wherein the first tag authentication code and the fourth tag authentication code are generated by a cryptographic hash function with inputs comprising a first key of the at least one key and the code sequence index; the second tag authentication code and the third tag authentication code are generated by the cryptographic hash function with inputs comprising a second key of the at least one key and a first increment of the code sequence index; and the fifth tag authentication code is generated by the cryptographic hash function with inputs comprising a third key of the at least one key and a second increment of the code sequence index.

### Claim 8 (depends on 1)

The tag device of claim 1, wherein to determine that the first server authentication code is valid, the first circuit is configured to:
generate a fourth tag authentication code and a fifth tag authentication code based on the tag state data; and
determine that the first server authentication code is equal to the fifth tag authentication code.

### Claim 9 (depends on 8)

The tag device of claim 8, wherein the fourth tag authentication code is generated by a cryptographic hash function with inputs comprising a first key of the at least one key and the code sequence index; the first tag authentication code and the fifth tag authentication code are generated by the cryptographic hash function with inputs comprising a second key of the at least one key and a first increment of the code sequence index; and the second tag authentication code and the third tag authentication code are generated by the cryptographic hash function with inputs comprising a third key of the at least one key and a second increment of the code sequence index.

### Claim 10 (depends on 1)

The tag device of claim 1, wherein the first circuit measures a voltage across a capacitor and determines the voltage to be above a predetermined threshold prior to incrementing the code sequence index stored in the nonvolatile memory.

### Claim 11 (depends on 1)

The tag device of claim 1, wherein the first circuit calculates the third tag authentication code prior to the first interface circuit receiving the second server authentication code.

### Claim 12

An authentication circuit, comprising:
a first interface circuit, configured to transmit data and receive data through a first electrical communication channel;
a nonvolatile memory circuit with tag state data stored therein, wherein the tag state data comprises a code sequence index and at least one key; and
a first circuit coupled to the first interface circuit and the nonvolatile memory circuit,
wherein the authentication circuit is configured to:
receive, by the first interface circuit, a first server authentication code;
determine, by the first circuit, that the first server authentication code is valid based on the tag state data;
generate, by the first circuit, a first tag authentication code, a second tag authentication code, and a third tag authentication code based on the tag state data and the first server authentication code;
transmit, by the first interface circuit, the first tag authentication code in response to determining that the first server authentication code is valid;
receive, by the first interface circuit, a second server authentication code;
determine, by the first circuit, that the second server authentication code is equal to the second tag authentication code; and
in response to the first circuit determining that the second server authentication code is equal to the second tag authentication code:
transmit, by the first interface circuit, the third tag authentication code; and
increment, by the first circuit, the code sequence index stored in the nonvolatile memory.

### Claim 13 (depends on 12)

The authentication circuit of claim 12, wherein to determine that the first server authentication code is valid, the first circuit is configured to:
generate a fourth tag authentication code and a fifth tag authentication code based on the tag state data; and
determine that the first server authentication code is equal to the fourth tag authentication code.

### Claim 14 (depends on 12)

The authentication circuit of claim 12, wherein to determine that the first server authentication code is valid, the first circuit is configured to:
generate a fourth tag authentication code and a fifth tag authentication code based on the tag state data; and
determine that the first server authentication code is equal to the fifth tag authentication code.

### Claim 15 (depends on 12)

The authentication circuit of claim 12, wherein the first circuit is further configured to generate an encryption key based on an increment of the code sequence index and the at least one key.

### Claim 16

A computing device, comprising:
a wireless modem;
an application processor coupled to the wireless modem; and
an authentication circuit coupled to the application processor, the authentication circuit comprising:
a first interface circuit, configured to transmit data and receive data through a first electrical communication channel;
a nonvolatile memory circuit with tag state data stored therein, wherein the tag state data comprises a code sequence index and at least one key; and
a first circuit coupled to the first interface circuit and the nonvolatile memory circuit,
wherein the authentication circuit is configured to:
receive, by the first interface circuit, a first server authentication code;
determine, by the first circuit, that the first server authentication code is valid based on the tag state data;
generate, by the first circuit, a first tag authentication code, a second tag authentication code, and a third tag authentication code based on the tag state data and the first server authentication code;
transmit, by the first interface circuit, the first tag authentication code in response to determining that the first server authentication code is valid;
receive, by the first interface circuit, a second server authentication code;
determine, by the first circuit, that the second server authentication code is equal to the second tag authentication code; and
in response to the first circuit determining that the second server authentication code is equal to the second tag authentication code:
transmit, by the first interface circuit, the third tag authentication code; and
increment, by the first circuit, the code sequence index stored in the nonvolatile memory.

### Claim 17 (depends on 16)

The computing device of claim 16, wherein to determine that the first server authentication code is valid, the first circuit is configured to:
generate a fourth tag authentication code and a fifth tag authentication code based on the tag state data; and
determine that the first server authentication code is equal to the fourth tag authentication code.

### Claim 18 (depends on 16)

The computing device of claim 16, wherein to determine that the first server authentication code is valid, the first circuit is configured to:
generate a fourth tag authentication code and a fifth tag authentication code based on the tag state data; and
determine that the first server authentication code is equal to the fifth tag authentication code.

### Claim 19 (depends on 16)

The computing device of claim 16, wherein the authentication circuit is further configured to generate an encryption key based on an increment of the code sequence index and the at least one key.

### Claim 20 (depends on 19)

The computing device of claim 19, wherein the encryption key is used to encrypt a communication session between the computing device and a different device.
