# US 2008/0187139 A1 · Semiconductor device, smart card, and electrnoic apparatus

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

- Number: US 2008/0187139 A1
- Document ID: US20080187139A1
- Status: Published application
- Kind: A1
- Application number: 12/026,581
- Filed: 2008-02-06
- Published: 2008-08-07
- Earliest claimed: 2007-02-07
- Assignees: Seiko Epson Corporation
- Inventors: Isao AKIMA
- Web page: https://patentgrep.com/patent/US20080187139A1

## CPC

- G06F 21/72: in cryptographic circuits
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/14: using a plurality of keys or algorithms
- 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)

## Abstract

A semiconductor device includes: a rewritable ferroelectric memory including an encryption table containing one or more data codes paired with encryption codes that are the data codes encrypted, a first region for storing the encryption codes, a second region for storing the data codes, and a third region for storing one or more of the data codes, wherein, when the encryption code is stored in the first region, the encryption table is searched through and the data code pairing with the encryption code is outputted to the second region, and when the data code is stored in the second region, the encryption table is searched through and the encryption code paring with the data code is outputted to the first region; a reception section that receives from outside a command code and the encryption code; and a transmission section that transmits outside the encryption code, wherein, upon receiving from outside a write command as the command code and the encryption code at the reception section, the encryption code received is inputted to the first region, and the data code paired with the encryption code outputted from the second region is written to the third region; and upon receiving from outside a readout command as the command code at the reception section, a specified one of the data codes is read from the third region and inputted to the second region, the encryption code paired with the data code outputted from the first region is transferred to the transmission section, and the encryption code is transmitted outside from the transmission section.

## Claims

### Claim 1

A semiconductor device comprising:
a rewritable ferroelectric memory including an encryption table containing one or more data codes paired with encryption codes that are the data codes encrypted, a first region for storing the encryption codes, a second region for storing the data codes, and a third region for storing one or more of the data codes, wherein, when the encryption code is stored in the first region, the encryption table is searched through and the data code pairing with the encryption code is outputted to the second region, and when the data code is stored in the second region, the encryption table is searched through and the encryption code paring with the data code is outputted to the first region;
a reception section that receives from outside a command code and the encryption code; and
a transmission section that transmits outside the encryption code,
wherein, upon receiving from outside a write command as the command code and the encryption code at the reception section, the encryption code received is inputted to the first region, and the data code paired with the encryption code outputted from the second region is written to the third region; and upon receiving from outside a readout command as the command code at the reception section, a specified one of the data codes is read from the third region and inputted to the second region, the encryption code paired with the data code outputted from the first region is transferred to the transmission section, and the encryption code is transmitted outside from the transmission section.

### Claim 2

A semiconductor device comprising:
a rewritable ferroelectric memory including an encryption table containing one or more data codes paired with encryption codes that are the data codes encrypted, a first region for storing the encryption codes, a second region for storing the data codes, and a third region for storing one or more of the encryption codes, wherein, when the encryption code is stored in the first region, the encryption table is searched through and the data code pairing with the encryption code is outputted to the second region, and when the data code is stored in the second region, the encryption table is searched through and the encryption code paring with the data code is outputted to the first region;
a reception section that receives from outside a command code and the data code; and
a transmission section that transmits outside the data code,
wherein, upon receiving from outside a write command as the command code and the data code at the reception section, the data code received is inputted to the second region, and the encryption code paired with the data code outputted from the first region is written to the third region; and upon receiving from outside a readout command as the command code at the reception section, a specified one of the encryption codes is read from the third region and inputted to the first region, the data code paired with the encryption code outputted from the second region is transferred to the transmission section, and the data code is transmitted outside from the transmission section.

### Claim 3 (depends on 1)

A semiconductor device according to claim 1, further comprising an error correction circuit that corrects an error that possibly occurs on data stored in the ferroelectric memory.

### Claim 4 (depends on 1)

A smart card comprising the semiconductor recited in claim 1.

### Claim 5 (depends on 4)

An electronic apparatus comprising the smart card recited in claim 4.
