# US 2003/0204696 A1 · Tamper-resistant method and data processing system using the same

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

- Number: US 2003/0204696 A1
- Document ID: US20030204696A1
- Status: Published application
- Kind: A1
- Application number: 10/397,742
- Filed: 2003-03-26
- Published: 2003-10-30
- Earliest claimed: 2002-04-29
- Assignees: Samsung Electronics Co., Ltd.
- Inventors: Kyung-Suk Yi
- Web page: https://patentgrep.com/patent/US20030204696A1

## CPC

- G06F 21/75: by inhibiting the analysis of circuitry or operation
- G06F 21/77: in smart cards
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A tamper-resistant method for preventing tampering using a glitch attack and a data processing system using the same are provided. The method includes reading out a first data from a region of the memory assigned by an address; reading out a second data from the region of the memory assigned by the address; determining whether the first data is identical to the second data; and fetching by the processor either one of the first and second data when the first data is identical to the second data.

## Claims

### Claim 1

A method for preventing tampering of a data processing system including a memory and a processor, comprising the steps of:
reading out a first data from a region of the memory assigned by an address;
reading out a second data from the region of the memory assigned by the address;
determining whether the first data is identical to the second data; and
fetching by the processor either one of the first and second data when the first data is identical to the second data.

### Claim 2 (depends on 1)

The method according to claim 1, wherein when the first data is not identical to the second data, the processor fetches neither of the first and second data.

### Claim 3 (depends on 1)

The method according to claim 1, wherein when the processor operates in synchronization with an external clock signal, the first data and the second data are successively read out from the memory by the same address during one cycle of the external clock signal.

### Claim 4

A method for preventing tampering of a data processing system including a memory and a processor, comprising the steps of:
generating an internal clock signal synchronized with an external clock signal, wherein a period of the external clock signal is N times as long as that of the internal clock signal;
reading out a first data from a region of the memory assigned by an address in synchronization with the internal clock signal;
reading out a second data from the region of the memory assigned by the address in synchronization with the internal clock signal;
determining whether the first data is identical to the second data; and
loading by the processor either one of the first and the second data when the first data is identical to the second data, wherein the first data and the second data are sequentially read out in synchronization with the internal clock signal within one cycle of the external clock signal.

### Claim 5 (depends on 4)

The method according to claim 4, wherein when the first data is not identical to the second data, neither of the first data and the second data is loaded by the processor.

### Claim 6 (depends on 4)

The method according to claim 4, further comprising the step of generating a flag signal indicating whether the first and the second data are identical.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the loading step is preformed in response to the flag signal.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the determining step is performed by a tamper-resistant circuit for receiving the first and second data and comparing data values received.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the tamper-resistant circuit comprises first and second buffers; a multiplexer for multiplexing data from the memory into the first and second buffers in response to the internal clock signal; and a comparator for comparing outputs of the first and second buffers to generate the flag signal as a comparison result.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the tamper-resistant circuit comprises a shift register for storing first and second data sequentially outputted from the memory in response to the internal clock signal; and a comparator for comparing the first data and the second data from the shift register to generate the flag signal as a comparison result.

### Claim 11

A data processing system comprising:
a processor core for generating an address in synchronization with a first clock signal;
a clock generating circuit for generating a second clock signal in response to the first clock signal, a period of the first clock signal being N times longer than that of the second clock signal;
a memory operated in synchronization with the second clock signal, for outputting data in response to the address transferred from the processor core; and
a tamper-resistant circuit for receiving data outputted from the memory in response to the second clock signal and comparing data values received during one cycle of the first clock signal,
wherein the processor core loads data from the tamper-resistant circuit when data transferred to the tamper-resistant circuit during a first half period of the first clock signal is identical to data transferred therefrom during a second half period thereof.

### Claim 12 (depends on 11)

The data processing system according to claim 11, wherein the tamper-resistant circuit generates a flag signal indicating whether data values received during one cycle of the first clock signal have the same value.

### Claim 13 (depends on 12)

The data processing system according to claim 12, wherein the processor core selectively receives data from the tamper-resistant circuit in response to the flag signal.

### Claim 14 (depends on 13)

The data processing system according to claim 13, wherein the processor core receives the data from the tamper-resistant circuit in response to the flag signal indicating that data values received during one cycle of the first clock signal are identical to each other.

### Claim 15 (depends on 13)

The data processing system according to claim 13, wherein the processor core does not receive the data from the tamper-resistant circuit in response to the flag signal indicating that data values received during one cycle of the first clock signal are different.

### Claim 16 (depends on 12)

The data processing system according to claim 12, wherein the tamper-resistant circuit comprises first and second buffers; a multiplexer for multiplexing data from the memory into the first and second buffers in response to the second clock signal; and a comparator for comparing outputs of the first and second buffers to generate the flag signal as a comparison result.

### Claim 17 (depends on 12)

The data processing system according to claim 12, wherein the tamper-resistant circuit comprises a shift register for storing first and second data sequentially outputted from the memory during the first and second half periods of the first clock signal; and a comparator for comparing the first data and the second data from the shift register to generate the flag signal as a comparison result.

### Claim 18 (depends on 4)

The method according to claim 4, wherein the period of the external clock signal is two times as long as that of the internal clock signal.

### Claim 19 (depends on 16)

The data processing system according to claim 16, wherein an output of the first buffer is connected to the processor core.

### Claim 20 (depends on 17)

The data processing system according to claim 17, wherein an output of the shift register is connected to the processor core.
