# US 2010/0077226 A1 · Encryption device and encryption operation method

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

- Number: US 2010/0077226 A1
- Document ID: US20100077226A1
- Status: Published application
- Kind: A1
- Application number: 12/447,376
- Filed: 2008-06-17
- Published: 2010-03-25
- Earliest claimed: 2007-06-18
- Assignees: Panasonic Corporation
- Inventors: Satoshi Senga; Hsueh-Teng Liu
- Web page: https://patentgrep.com/patent/US20100077226A1

## CPC

- H04L 9/06: the encryption apparatus using shift registers or memories for block-wise {or stream} coding, e.g. DES systems {or RC4; Hash functions; Pseudorandom sequence generators}
- H04L 9/0844: {with user authentication or key authentication, e.g. ElGamal, MTI, MQV-Menezes-Qu-Vanstone protocol or Diffie-Hellman protocols using implicitly-certified keys}
- H04L 2209/12: Details relating to cryptographic hardware or logic circuitry
- H04L 2209/80: Wireless
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Provided is an encryption device which can effectively use a hardware encryption engine and reduce a packet processing delay of a real time application. In this device, an approval unit (230) judges whether it is possible to use an HW cipher unit (264) corresponding to a secure application requested for encryption operation, i.e., whether an encryption resource is not used. A priority processing approval unit (240) calculates a priority of a cryptographic operation in the secure application of the request source. If the HW cipher unit (264) cannot be used, the priority of a secure application currently allocated to the HW cipher unit (264) is compared to that of the secure application requesting for the cryptographic operation. If the secure application of the request source has a higher priority, the currently allocated secure application is released from the HW cipher unit and the secure application of the request source is allocated to the HW cipher unit (264). The secure application which has been released is allocated to an SW cipher unit (266).

## Claims

### Claim 1

A cipher apparatus having a hardware module and software module for performing a cryptographic operation for a secure application that is allocated, the cipher apparatus comprising:
a determining section that determines an availability of the hardware module for a secure application that requests the cryptographic operation;
a priority calculating section that calculates a priority of the cryptographic operation for the secure application that requests the cryptographic operation;
a comparing section that, if the availability of the hardware module is not admitted, compares priorities between the secure application requesting the cryptographic operation and another secure application that is different from the secure application that requests the cryptographic operation and that is allocated to the hardware module; and
an allocating section that, when a priority level of the secure application that requests the cryptographic operation is higher, releases the another secure application from the hardware module, allocates the secure application that requests the cryptographic operation to the hardware module, and allocates the released another secure application to the software module.

### Claim 2 (depends on 1)

The cipher apparatus according to claim 1, wherein the priority calculating section calculates the priority of the secure application that requests the cryptographic operation, using priority information table in which priorities of a plurality of secure applications in the cryptographic operations are set.

### Claim 3 (depends on 1)

The cipher apparatus according to claim 1, further comprising a usage state management table that manages secure applications for which the cryptographic operation is performed by the hardware module and the software module,
wherein, upon receiving a request for the cryptographic operation from a secure application, the determining section determines the availability of the hardware module using the usage information management table.

### Claim 4 (depends on 1)

The cipher apparatus according to claim 1, wherein, when the amount of available cipher resources in the hardware module is equal to or greater than the amount of cipher resources required for the cryptographic operation of the secure application that requests the cryptographic operation, the determining section determines that the availability is admitted.

### Claim 5 (depends on 2)

The cipher apparatus according to claim 2, wherein the priorities in the priority information table are determined by a limited delay time of each application, and a secure application for which a delay time is severely limited is made a secure application having a high priority.

### Claim 6 (depends on 1)

The cipher apparatus according to claim 1, wherein the priorities in the priority information table are determined by bandwidth requirements used in the applications, and a secure application having broad bandwidth requirements is made a secure application having a high priority.

### Claim 7 (depends on 1)

The cipher apparatus according to claim 1, wherein, when the cryptographic operation for the secure application allocated to the hardware module terminates, the allocating section releases the secure application allocated to the hardware module and allocates the another secure application allocated to the software module, to the hardware module to perform the cryptographic operation.

### Claim 8

A cryptographic operation method for performing a cryptographic operation by allocating a hardware module and software module to a secure application that requests the cryptographic operation, the method comprising:
a determining step of determining an availability of the hardware module for a secure application that requests the cryptographic operation;
a priority calculating step of calculating a priority of a cryptographic operation for the secure application that requests the cryptographic operation;
a comparing step of, when the availability of the hardware module is not admitted, comparing priorities between the secure application that requests the cryptographic operation and another secure application from the secure application that requests the cryptographic operation and that is allocated to the hardware module; and
an allocating step of, when a priority level of the secure application that requests the cryptographic operation is higher, releasing the another secure application from the hardware module, allocating the secure application that requests the cryptographic operation to the hardware module, and allocating the another secure application released to the software module.

### Claim 9 (depends on 8)

The cryptographic operation method according to claim 8, wherein, when the cryptographic operation for the secure application allocated to the hardware module terminates, the allocating step comprises releasing the secure application allocated to the hardware module and reallocating the another secure application allocated to the software module, to the hardware module to perform the cryptographic operation.
