Program conversion apparatus and method to convert program into a homomorphic encryption program
AssigneeElectronics and Telecommunications Research Institute
InventorsSeong Cheon Park, Hyun Woo Kim, Su Yeon Jang
Life of this patent
Estimating the term…
Abstract
A program conversion apparatus converts a first program to which homomorphic encryption is not applied into a second program to which the homomorphic encryption is applied. The program conversion apparatus may include a memory, which stores a first library for configuring the first program and a second library for configuring the second program. The program conversion apparatus may include a processor, which converts the first program into the second program through conversion between operations provided by the first and second libraries. A program conversion method and a computer program recorded on a computer-readable storage medium are also disclosed.
Claims11
A program conversion apparatus, which converts a first program to which homomorphic encryption is not applied into a second program to which the homomorphic encryption is applied, the program conversion apparatus comprising:
- a memory, which stores a first library for configuring the first program and a second library for configuring the second program;
- and
- a processor configured to convert the first program into the second program through conversion between operations provided by the first and second libraries, and to output the second program, wherein
- one or more general operations to which homomorphic encryption is not applied are defined in the first library, and one or more homomorphic encryption operations to which homomorphic encryption is applied are defined in the second library, and
- the processor converts the first program into the second program through conversion from the one or more general operations provided by the first library into the one or more homomorphic encryption operations provided by the second library, and
- the processor converts the first program into the second program by identifying a first operation applied to the first program among the one or more general operations provided by the first library and calling a second operation corresponding to the identified first operation among the one or more homomorphic encryption operations provided by the second library.
A program conversion method, which converts a first program to which homomorphic encryption is not applied into a second program to which the homomorphic encryption is applied, the program conversion method comprising:
- receiving, by a processor, the first program;
- converting, by the processor, the first program into the second program through conversion between operations provided by first and second libraries, the first and second libraries being libraries for configuring the first and second programs, respectively;
- and
- outputting, by the processor, the second program, wherein
- one or more general operations to which homomorphic encryption is not applied are defined in the first library, and one or more homomorphic encryption operations to which homomorphic encryption is applied are defined in the second library,
- in the converting, the processor converts the first program into the second program through conversion from the one or more general operations provided by the first library into the one or more homomorphic encryption operations provided by the second library, and
- in the converting, the processor converts the first program into the second program by identifying a first operation applied to the first program among the one or more general operations provided by the first library and calling a second operation corresponding to the identified first operation among the one or more homomorphic encryption operations provided by the second library.
A computer program recorded on a non-transitory computer-readable storage medium, which is combined with hardware and converts a first program to which homomorphic encryption is not applied into a second program to which homomorphic encryption is applied, the computer program comprising instructions for:
- receiving the first program;
- converting the first program into the second program through conversion between operations provided by first and second libraries, the first and second libraries being libraries for configuring the first and second programs, respectively;
- and
- outputting the second program, wherein
- one or more general operations to which homomorphic encryption is not applied are defined in the first library, and one or more homomorphic encryption operations to which homomorphic encryption is applied are defined in the second library,
- in the converting, the processor converts the first program into the second program through conversion from the one or more general operations provided by the first library into the one or more homomorphic encryption operations provided by the second library, and
- in the converting, the processor converts the first program into the second program by identifying a first operation applied to the first program among the one or more general operations provided by the first library and calling a second operation corresponding to the identified first operation among the one or more homomorphic encryption operations provided by the second library.
Dependencies are inferred from the claim text.