# US 2022/0035608 A1 · Conversion apparatus, conversion method and program

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

- Number: US 2022/0035608 A1
- Document ID: US20220035608A1
- Status: Published application
- Kind: A1
- Application number: 17/276,200
- Filed: 2018-09-20
- Published: 2022-02-03
- Earliest claimed: 2018-09-20
- Assignees: NEC Corporation
- Applicants: NEC Corporation
- Inventors: Toshinori ARAKI; Hikaru TSUCHIDA; Kazuma OHARA
- Web page: https://patentgrep.com/patent/US20220035608A1

## CPC

- G06F 8/44: {Encoding}
- G06F 8/41: Compilation
- G06F 8/51: Source to source
- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

There is provided a conversion apparatus with which a secure computation execution environment may be easily constructed. The conversion apparatus comprises an input part and a conversion part. The input part inputs a source code. The conversion part converts the input source code so that a secure computation compiler processes it based on setting information relating to secret computation executed by a plurality of secure computation servers.

## Claims

### Claim 1

A conversion apparatus, comprising:
an input part for inputting a source code, and
a conversion part that converts the source code so that a secure computation compiler processes the source code based on setting information relating to secure computation executed by a plurality of secure computation servers.

### Claim 2 (depends on 1)

The conversion apparatus according to claim 1, wherein
the conversion part replaces a predetermined input function included in the source code by an input function for secure computation.

### Claim 3 (depends on 2)

The conversion apparatus according to claim 2, wherein
the conversion part sets information for a secure computation server that obtains data to be subjected to secret sharing among the plurality of secure computation servers in the input function for secure computation.

### Claim 4 (depends on 2)

The conversion apparatus according to claim 2, wherein
the conversion part sets a first parameter to be a storing destination of the data obtained with the predetermined input function as a target of secret sharing, and converts the source code so that the first parameter is subjected to secret sharing.

### Claim 5 (depends on 4)

The conversion apparatus according to claim 4, wherein
the conversion part sets a second parameter receiving an effect from the first parameter as a target for secret sharing, and converts the source code so that the second parameter is subjected to secret sharing.

### Claim 6 (depends on 5)

The conversion apparatus according to claim 5, wherein
the conversion part sets a third parameter different from the first and second parameters and a constant value included in the source code as a target for secret sharing, and converts the source code so that the third parameter and the constant value set as the target for secret sharing is subjected to secret sharing.

### Claim 7 (depends on 1)

The conversion apparatus according to claim 1, wherein
the input part inputs a list designating a parameter and a constant to be targets for secret sharing, and
the conversion part converts the parameter and the constant designated by the list so as to be subjected to secret sharing.

### Claim 8 (depends on 1)

The conversion apparatus according to claim 1, wherein
the conversion part converts the source code so that a parameter and a constant value designated by a user are subjected to secret sharing.

### Claim 9 (depends on 1)

The conversion apparatus according to claim 1, wherein
the conversion part replaces a predetermined output function included in the source code by an output function for secure computation.

### Claim 10 (depends on 9)

The conversion apparatus according claim 9, wherein
the conversion part sets information for a secure computation server that decodes a result of secure computation executed by the plurality of secure computation servers in the output function for secure computation.

### Claim 11

A conversion method, including:
(a) inputting a source code, and
(b) converting the source code so that a secure computation compiler processes the source code based on setting information relating to secure computation executed by a plurality of secure computation servers.

### Claim 12

A non-transient computer-readable storage medium storing a program that causes a computer to execute processings comprising:
(a) inputting a source code, and
(b) converting the source code so that a secure computation compiler processes the source code based on setting information relating to secure computation executed by a plurality of secure computation servers.

### Claim 13 (depends on 11)

The conversion method according to claim 11, wherein
step of (b) includes replacing a predetermined input function included in the source code by an input function for secure computation.

### Claim 14 (depends on 13)

The conversion method according to claim 13, wherein
step of (b) includes setting information for a secure computation server that obtains data to be subjected to secret sharing among the plurality of secure computation servers in the input function for secure computation.

### Claim 15 (depends on 11)

The conversion method according to claim 11, wherein
step of (b) includes replacing a predetermined output function included in the source code by an output function for secure computation.

### Claim 16 (depends on 15)

The conversion method according claim 15, wherein
step of (b) includes setting information for a secure computation server that decodes a result of secure computation executed by the plurality of secure computation servers in the output function for secure computation.

### Claim 17 (depends on 12)

The non-transient computer-readable storage medium storing a program according to claim 12, wherein
process of (b) includes replacing a predetermined input function included in the source code by an input function for secure computation.

### Claim 18 (depends on 17)

The non-transient computer-readable storage medium storing a program according to claim 17, wherein
process of (b) includes setting information for a secure computation server that obtains data to be subjected to secret sharing among the plurality of secure computation servers in the input function for secure computation.

### Claim 19 (depends on 12)

The non-transient computer-readable storage medium storing a program according to claim 12, wherein
process of (b) includes replacing a predetermined output function included in the source code by an output function for secure computation.

### Claim 20 (depends on 19)

The non-transient computer-readable storage medium storing a program according claim 19, wherein
process of (b) includes setting information for a secure computation server that decodes a result of secure computation executed by the plurality of secure computation servers in the output function for secure computation.
