# US 2003/0226008 A1 · Method and system for allowing for the secure transmission and reception of data in a processing system

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

- Number: US 2003/0226008 A1
- Document ID: US20030226008A1
- Status: Published application
- Kind: A1
- Application number: 10/159,511
- Filed: 2002-05-30
- Published: 2003-12-04
- Earliest claimed: 2002-05-30
- Assignees: International Business Machines Corporation
- Inventors: Susann Marie Keohane; Gerald Francis McBrearty; Shawn Patrick Mullen; Jessica Kelley Murillo; Johnny Meng-Han Shieh
- Web page: https://patentgrep.com/patent/US20030226008A1

## CPC

- G06F 21/606: {by securing the transmission between two devices or processes}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and system for allowing for the secure transmission and reception of data in a processing system is disclosed. The method and system includes providing at least one crypto algorithm in a region of a system memory in the processing system; and assigning a cryptographic function of the at least one crypto algorithm to the region. A system and method in accordance with the present invention ties the encryption/decryption algorithm to specific DMA regions and the encryption key to the particular DMA transfer. This allows the system processors to offload the encryption and enable all network (and non-network) adapters to take advantage of this offload without hardware changes to the adapters.

## Claims

### Claim 1

A method for allowing for the secure transmission and reception of data in a processing system, the method comprising the steps of:
(a) providing at least one crypto algorithm in a region of a system memory in the processing system; and
(b) assigning a cryptographic function of the at least one crypto algorithm to the region.

### Claim 2 (depends on 1)

The method of claim 1 wherein the providing step (a) further includes the step of
(a1) assigning a region in the system memory for cryptography; and
(a2) providing a plurality of crypto algorithms in the region.

### Claim 3 (depends on 2)

The method of claim 2 wherein the assigning cryptographic function (B) further comprises the steps of:
(b1) dividing the region into multiple subregions; and
(b2) assigning a unique cryptographic function in a plurality of crypto algorithms to each of the subregions.

### Claim 4

A networking processing system comprising
at least one processor;
a system memory coupled to the at least one processor, the system memory including a region for storing at least one cryptographic algorithm;
a bus;
a transaction control entry (TCE) system coupled between the bus and the system memory for translating a bus address into a physical address for the region; and
a crypto engine associated with the TCE system for enabling cryptography during a direct memory access (DMA) of the region.

### Claim 5 (depends on 4)

The networking processing system of claim 4 wherein the crypto engine comprises n adapter coupled to the bus.

### Claim 6 (depends on 4)

The networking processing system of claim 4 wherein the crypto engine comprises a processor which accesses the region via the TCE system.

### Claim 7 (depends on 5)

The networking processing system of claim 5 wherein when cryptography is enabled, first and second kernel services are utilized;
the first kernel service returns a structure with function pointers that are specific to a cryptography function used by the adapter; and
the second kernel service maps a virtual address of the region to a bus address.

### Claim 8 (depends on 7)

The networking processing system of claim 7 wherein the second kernel service also passes a cryptographic key to be used by the cryptographic algorithm.

### Claim 9

A direct memory access (DMA) subsystem for a memory comprising:
a transaction control entry system for translating a bus address into a physical address for a region, the region for storing at least one cryptographic algorithm; and
a crypto-engine associated with the TCE system for enabling cryptography during a direct memory access (DMA) of the region.

### Claim 10 (depends on 9)

The DMA subsystem of claim 9 wherein the crypto engine comprises n adapter coupled to the bus.

### Claim 11 (depends on 9)

The DMA subsystem of claim 9 wherein the crypto engine comprises a processor which accesses the region via the TCE system.

### Claim 12 (depends on 10)

The DMA subsystem of claim 10 wherein when cryptography is enabled, first and second kernel services are utilized;
the first kernel service returns a structure with function pointers that are specific to a cryptography function used by the adapter; and
the second kernel service maps a virtual address of the region to a bus address..

### Claim 13 (depends on 12)

The DMA subsystem of claim 12 wherein the second kernel service also passes a cryptographic key to be used by the cryptographic algorithm.

### Claim 14

A computer readable medium containing program instructions for allowing for the secure transmission and reception of data in a processing system, the program instructions:
(a) providing at least one crypto algorithm in a region of a system memory in the processing system; and
(b) assigning a unique cryptographic function of the at least one crypto algorithm to the region.

### Claim 15 (depends on 14)

The computer readable medium of claim 14 wherein the providing step (a) further includes the step of
(a1) assigning a region in the system memory for cryptography; and
(a2) providing a plurality of crypto algorithms in the region.

### Claim 16 (depends on 15)

The computer readable medium of claim 15 wherein the assigning cryptographic function (B) further comprises the steps of:
(b1) dividing the region into multiple subregions; and
(b2) assigning a unique cryptographic function in a plurality of crypto algorithms to each of the subregions.
