# US 2004/0080335 A1 · Method and apparatus for selecting an encryption integrated circuit operating mode

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

- Number: US 2004/0080335 A1
- Document ID: US20040080335A1
- Status: Published application
- Kind: A1
- Application number: 10/687,165
- Filed: 2003-10-16
- Published: 2004-04-29
- Earliest claimed: 2001-05-23
- Assignees: Mosaid Technologies Incorporated
- Inventors: James Goodman
- Web page: https://patentgrep.com/patent/US20040080335A1

## CPC

- G06F 21/74: operating in dual or compartmented mode, i.e. at least one secure mode
- G01R 31/31704: {Design for test; Design verification (concerning scan tests G01R31/318583; computer-aided design G06F30/00)}
- G01R 31/318558: {Addressing or selecting of subparts of the device under test}
- G01R 31/318588: {Security aspects}
- G01R 31/31719: {Security aspects, e.g. preventing unauthorised access during test}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

A method and circuit for preventing external access to secure data of an integrated circuit while supporting DFT is disclosed. In accordance with the method the integrated circuit is automatically placed into the test mode at integrated circuit power-up from a power-down state. At power up, secure data is other than present within a secure data-path of the integrated circuit. Access is provided to the secure data path via a second data path coupled with the first secure data-path. Via the access path, data other than secure data is provided to the integrated circuit, the data for performing test functions of the integrated circuit operating in the test mode. Once data other than secure data is provided to first secure data path, the test mode is terminated and access via other than the secure ports is disabled. The test mode is only re-entered by powering down the integrated circuit and re-initialising it.

## Claims

### Claim 1

An apparatus for processing or storing secure data comprising:
a secure port for transmitting and receiving secure data;
a test port for transmitting and receiving test data; and
a test mode entry circuit that causes entry of the apparatus into a test mode, the test mode entry circuit operable for a predetermined time period.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the test mode entry circuit is coupled to the secure port, and when data is applied to the secure port, the test mode entry circuit causes entry of the apparatus into a work mode.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the entry into the work mode disables re-entry of the apparatus to the test mode.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the predetermined time period commences approximately coincident to when power is applied to the apparatus.

### Claim 5 (depends on 1)

The apparatus of claim 1, further comprising:
test circuitry coupled to the test mode entry circuitry which performs diagnostic functions while the apparatus is in test mode.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the test mode entry circuit is coupled to the test port and entry into the test mode is dependent on test data received through the test port within the predetermined time period.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the test data comprises one or more electrical signals received through the test port and at least one of the electrical signals is an out of spec voltage.

### Claim 8 (depends on 6)

The apparatus of claim 6, wherein the test mode entry circuit causes the apparatus to enter the work mode if the test data is not received within the predetermined time period.

### Claim 9 (depends on 1)

The apparatus of claim 1, further comprising:
memory for storing the secure data.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the memory is non-volatile.

### Claim 11 (depends on 10)

The apparatus of claim 10, further comprising:
a memory erasing circuit which erases the secure data stored in the non volatile memory upon entry of the apparatus into the test mode.

### Claim 12

A method for testing a device for processing or storing secure data comprising the steps of:
providing a test port for receiving and transmitting test data;
providing a secure port for receiving and transmitting test data; and
enabling the entry of the device to a test mode, the device operable in a test mode for a predetermined time period.

### Claim 13 (depends on 12)

The method of claim 12, further comprising the step of:
performing diagnostic functions while the apparatus is in the test mode.

### Claim 14 (depends on 12)

The method of claim 12, further comprising the step of:
after data is received through the secure port, causing the entry of the device into a work mode.

### Claim 15

The method of 14, further comprising the step of:
after entry of the device into the work mode, disabling re-entry of the device into the test mode.

### Claim 16 (depends on 12)

The method of claim 12, wherein the predetermined time period commences approximately coincident to when power is applied to the apparatus.

### Claim 17 (depends on 12)

The method of claim 12, wherein entry into the test mode is dependent upon test data present on the test port.

### Claim 18 (depends on 17)

The method of claim 17, wherein entry into the work mode is automatic if the test data is not received on the test port within the predetermined time period.

### Claim 19 (depends on 12)

The method of claim 12, wherein entry into test mode is automatic after power is applied to the device.

### Claim 20 (depends on 12)

The method of claim 12, further comprising the step of:
storing the secure data in a memory.

### Claim 21 (depends on 20)

The method of claim 20, wherein the memory is non-volatile.

### Claim 22 (depends on 21)

The method of claim 21, further comprising the step of:
erasing the secure data stored in the non-volatile memory upon entry of the device into the test mode.
