# US 2023/0066634 A1 · Bus system

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

- Number: US 2023/0066634 A1
- Document ID: US20230066634A1
- Status: Published application
- Kind: A1
- Application number: 17/581,075
- Filed: 2022-01-21
- Published: 2023-03-02
- Earliest claimed: 2021-08-25
- Assignees: Nuvoton Technology Corporation
- Applicants: Nuvoton Technology Corporation
- Inventors: Chih-Hung HUANG; Kang-Fu CHIU; Hao-Yang CHANG
- Web page: https://patentgrep.com/patent/US20230066634A1

## CPC

- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 13/385: {for adaptation of a particular data processing system to different peripheral devices}
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A bus system is provided. The bus system includes a master device, an enhanced serial peripheral interface (eSPI) bus, an SPI bus, a memory device electrically connected to the master device via the SPI bus, and a plurality of slave devices electrically connected to the master device via the eSPI bus. Each of the slave devices has a pin, and the pins of the slave devices are electrically connected together via a control line. After obtaining program code from the memory device via the master device, a first slave device is configured to decrypt the program code according to a first security code, and transmit the program code decrypted by the first security code to the slave devices via the control line, so that the program code decrypted by the first security code is decrypted in the slave devices according to a decryption sequence.

## Claims

### Claim 1

A bus system, comprising:
a master device;
an enhanced serial peripheral interface (eSPI) bus;
a serial peripheral interface (SPI) bus;
a memory device electrically connected to the master device via the SPI bus; and
a plurality of slave devices electrically connected to the master device via the eSPI bus,
wherein each of the slave devices has a pin, and the pins of the slave devices are electrically connected together via a control line,
wherein after obtaining program code from the memory device via the master device, a first slave device of the slave devices is configured to decrypt the program code according to a first security code, and transmit the program code decrypted by the first security code to the slave devices via the control line, so that the program code decrypted by the first security code is decrypted in the slave devices according to a decryption sequence.

### Claim 2 (depends on 1)

The bus system as claimed in claim 1, wherein when the first slave device receives the program code decrypted by a second security code from a second slave device of the slave devices via the control line, the first slave device is configured to re-decrypt the program code decrypted by the second security code according to the first security code, and store the re-decrypted program code as firmware of the first slave device.

### Claim 3 (depends on 1)

The bus system as claimed in claim 1, wherein when a third slave device of the slave devices receives the program code from the first slave device that has been decrypted by the first security code via the control line, the third slave device is configured to decrypt the program code decrypted by the first security code according to a third security code, and transmit the program code decrypted by the third security code to the other of the slave devices via the control line according to the decryption sequence.

### Claim 4 (depends on 3)

The bus system as claimed in claim 3, wherein when the first slave device receives the program code from the third slave device that has been decrypted by the third security code via the control line, the first slave device is configured to re-decrypt the program code decrypted by the third security code according to the first security code, and count the number of cycles for re-decrypting the program code using the first security code.

### Claim 5 (depends on 4)

The bus system as claimed in claim 4, wherein when the number of cycles reaches a specific value, the first slave device is configured to store the re-decrypted program code as firmware of the first slave device, wherein when the number of cycles does not reach the specific value, the first slave device is configured to transmit the re-decrypted program code to the slave devices via the control line, so that the program code re-decrypted by the first security code is decrypted in the slave devices according to the decryption sequence.

### Claim 6 (depends on 1)

The bus system as claimed in claim 1, wherein the first slave device is configured to obtain a first salt value from the program code decrypted by the first security code, and to transmit the program code decrypted by the first security code to the slave device corresponding to the first salt value via the control line, wherein when the first slave device receives the program code that has been decrypted by a second security code from a second slave device of the slave devices via the control line, the first slave device is configured to re-decrypt the program code decrypted by the second security code according to the first security code to obtain a second salt value.

### Claim 7 (depends on 6)

The bus system as claimed in claim 6, wherein when the second salt value is 0, the first slave device is configured to store the re-decrypted program code as firmware of the first slave device, and when the second salt value is not equal to 0, the first slave device is configured to transmit the re-decrypted program code to the slave device corresponding to the second salt value via the control line.

### Claim 8 (depends on 1)

The bus system as claimed in claim 1, wherein the first slave device is configured to use a triple data encryption algorithm, a polyalphabetic cipher algorithm, or a salt encryption algorithm to decrypt the program code.

### Claim 9

A bus system, comprising:
a master device;
an enhanced serial peripheral interface (eSPI) bus;
a plurality of slave devices electrically connected to the master device through the eSPI bus;
a serial peripheral interface (SPI) bus; and
a memory device electrically connected to the slave devices via the SPI bus,
wherein each of the slave devices has a pin, and the pins of the slave devices are electrically connected together via a control line,
wherein after obtaining program code from the memory device, a first slave device of the slave devices is configured to decrypt the program code according to a first security code, and transmit the program code decrypted by the first security code to the slave devices via the control line, so that the program code decrypted by the first security code is decrypted in the slave devices according to a decryption sequence.

### Claim 10 (depends on 9)

The bus system as claimed in claim 9, wherein when the first slave device receives the program code decrypted by a second security code from a second slave device of the slave devices via the control line, the first slave device is configured to re-decrypt the program code decrypted by the second security code according to the first security code, and transmit the re-decrypted program code to the master device via the eSPI bus to serve as a basic input and output system (BIOS) of the master device.

### Claim 11 (depends on 9)

The bus system as claimed in claim 9, wherein when the first slave device receives the program code decrypted by a second security code from a second slave device of the slave devices via the control line, the first slave device is configured to re-decrypt the program code decrypted by the second security code according to the first security code, and store the re-decrypted program code as firmware of the first slave device.

### Claim 12 (depends on 9)

The bus system as claimed in claim 9, wherein when a third slave device of the slave devices receives the program code from the first slave device that has been decrypted by the first security code via the control line, the third slave device is configured to decrypt the program code decrypted by the first security code according to a third security code, and transmit the program code decrypted by the third security code to the other of the slave devices via the control line according to the decryption sequence.

### Claim 13 (depends on 12)

The bus system as claimed in claim 12, wherein when the first slave device receives the program code from the third slave device that has been decrypted by the third security code via the control line, the first slave device is configured to re-decrypt the program code decrypted by the third security code according to the first security code, and count the number of cycles for re-decrypting the program code using the first security code.

### Claim 14 (depends on 13)

The bus system as claimed in claim 13, wherein when the number of cycles reaches a specific value, the first slave device is configured to transmit the re-decrypted program code to the master device via the eSPI bus to serve as a basic input and output system (BIOS) of the master device, wherein when the number of cycles does not reach the specific value, the first slave device is configured to transmit the re-decrypted program code to the slave devices via the control line, so that the program code re-decrypted by the first security code is decrypted in the slave devices according to the decryption sequence.

### Claim 15 (depends on 13)

The bus system as claimed in claim 13, wherein when the number of cycles reaches a specific value, the first slave device is configured to store the re-decrypted program code as firmware of the first slave device, wherein when the number of cycles does not reach the specific value, the first slave device is configured to transmit the re-decrypted program code to the slave devices via the control line, so that the program code re-decrypted by the first security code is decrypted in the slave devices according to the decryption sequence.

### Claim 16 (depends on 9)

The bus system as claimed in claim 9, wherein the first slave device is configured to obtain a first salt value from the program code decrypted by the first security code, and to transmit the program code decrypted by the first security code to the slave device corresponding to the first salt value via the control line, wherein when the first slave device receives the program code that has been decrypted by a second security code from a second slave device of the slave devices via the control line, the first slave device is configured to re-decrypt the program code decrypted by the second security code according to the first security code to obtain a second salt value.

### Claim 17 (depends on 16)

The bus system as claimed in claim 16, wherein when the second salt value is 0, the first slave device is configured to transmit the re-decrypted program code to the master device via the eSPI bus to serve as a basic input and output system (BIOS) of the master device, and when the second salt value is not equal to 0, the first slave device is configured to transmit the re-decrypted program code to the slave device corresponding to the second salt value via the control line.

### Claim 18 (depends on 16)

The bus system as claimed in claim 16, wherein when the second salt value is 0, the first slave device is configured to store the re-decrypted program code as firmware of the first slave device, and when the second salt value is not equal to 0, the first slave device is configured to transmit the re-decrypted program code to the slave device corresponding to the second salt value via the control line.

### Claim 19 (depends on 9)

The bus system as claimed in claim 9, wherein the program code is a basic input output system (BIOS) of the master device or firmware of the slave devices.

### Claim 20 (depends on 9)

The bus system as claimed in claim 9, wherein the first slave device is configured to use a triple data encryption algorithm, a polyalphabetic cipher algorithm, or a salt encryption algorithm to decrypt the program code.
