CPC H04L 9/008 (2013.01) [G06F 7/50 (2013.01); G06F 7/5443 (2013.01); G06N 20/00 (2019.01); H04L 9/0631 (2013.01); H04L 9/0891 (2013.01); H04L 9/30 (2013.01); H04L 2209/122 (2013.01)] | 18 Claims |
1. An artificial intelligence calculation semiconductor device comprising:
a control unit; and
a Multiply and Accumulator calculator (MAC) configured to execute a homomorphic encryption calculation through the control unit,
wherein the MAC is configured to
generate second cipher texts by performing a homomorphic multiplication calculation through transformation or inverse transformation of data by:
obtaining a plurality of rotated cipher texts by performing a cyclic shift of slots of each cipher text of a plurality of cipher texts, where the slots include a part of each cipher text of the plurality of cipher texts vectorized by packing data in which the homomorphic encryption calculation is executed,
executing a multiplication calculation between rotated cipher texts, of the plurality of rotated cipher texts, to obtain a plurality of multiplied cipher texts, where at least two of the rotated cipher texts are multiplied together, and
executing addition and subtraction calculations on the plurality of multiplied cipher texts, and
wherein the artificial intelligence calculation semiconductor device transmits and receives data from an artificial intelligence calculation dedicated region of a memory device comprising a data region different from the dedicated region, the dedicated region configured to store parameter values used for executing, by the MAC, the homomorphic encryption calculation in parallel with different homomorphic encryption calculations.
|