Calculation apparatus and encrypt and decrypt processing apparatus
Abstract
A calculation apparatus capable of executing any of a first calculating process operation including a first matrix calculation, and a second calculating process operation including a second matrix calculation, includes: a first calculation unit for executing the second matrix calculation; at least one calculation unit other than the first calculation unit, for executing a matrix calculation in parallel to the first calculation unit so as to execute the first matrix calculation; and a logic circuit for performing a logic calculation with respect to a calculation result of the first calculation unit and a calculation result of the other calculation unit. Then, when a calculation result of the first matrix calculation is requested, the calculation apparatus acquires the calculation result from the logic circuit. As a result, the calculation apparatus and an encrypt/decrypt processing apparatus can commonly perform portions of the plural calculating process operations which contain the matrix calculations, and can realize high speed operation by executing portions of the matrix calculations in parallel.
Claims
exact text as granted — not AI-modified1 . A calculation apparatus alternatively executing any of a first calculating process operation including a first matrix calculation, and a second calculating process operation including a second matrix calculation, comprising:
a first calculation unit configured to execute said second matrix calculation; a second calculation unit configured to execute a third matrix calculation in parallel to said first calculation unit; and a logic circuit configured to perform a logic calculation on a calculation result of said first calculation unit and a calculation result of said second calculation unit; wherein: the execution result of said first matrix calculation is obtained from said logic circuit.
2 . A calculation apparatus as claimed in claim 1 , further comprising:
an output unit configured to selectively output the calculation result of said first calculation unit and the execution result from said logic circuit.
3 . A calculation apparatus as claimed in claim 1 , wherein the second calculation unit further comprises:
a third calculating unit for performing matrix calculation on a plurality of columns having the same values in at least one of matrices; and a fourth calculation unit for commonly performing matrix calculation on said columns.
4 . A calculation apparatus capable of executing any of a first calculating process operation including a first matrix calculation, and a second calculating process operation including a second matrix calculation, comprising:
a first calculation unit for performing said second matrix calculation within a third matrix calculation, wherein said second matrix calculation by which the same calculation result as that of said first matrix calculation is obtained by exclusive OR-gating the first matrix calculation result and the second matrix calculation result; a second calculation unit for performing said third matrix calculation; and a logic circuit for performing a logic calculation on a calculation result of said first calculation unit and a calculation result of said second calculation unit; wherein the calculation result of said first matrix calculation is obtained from said logic circuit.
5 . A calculation apparatus as claimed in claim 4 , further comprising:
output means for selectively outputting the calculation result of said first calculation unit and the logic calculation result from said logic circuit.
6 . A calculation apparatus as claimed in claim 4 , wherein:
said third matrix calculation is provided with a plurality of columns having the same values; and said second calculation unit includes a third calculation unit for performing a matrix calculation on said plurality of columns.
7 . An encrypt/decrypt processing apparatus capable of executing any of a decrypt processing operation which contains a first matrix calculation and an encrypt processing operation which contains a second matrix calculation, comprising:
a first calculation unit for performing said second matrix calculation within a third matrix calculation, wherein said second matrix calculation by which the same calculation result as that of said first matrix calculation is obtained by exclusive OR-gating the first matrix calculation result and the second matrix calculation result; a second calculation unit for performing said third matrix calculation; and a logic circuit for performing a logic calculation on a calculation result of said first calculation unit and a calculation result of said second calculation unit; wherein: the calculation result of said first matrix calculation is obtained from said logic circuit.
8 . An encrypt/decrypt processing apparatus as claimed in claim 7 , further comprising:
output means for selectively outputting the calculation result of said first calculation unit when the encrypt processing operation is carried out, and the output from the logic circuit when the decrypt processing operation is carried out.
9 . An encrypt/decrypt processing apparatus as claimed in claim 7 , wherein:
said third matrix calculation is provided with a plurality of columns having the same values; and said second calculation unit includes a third calculation unit for performing a matrix calculation on said plurality of columns.
10 . An encrypt/decrypt processing apparatus as claimed in claim 9 wherein:
the matrix of said second matrix calculation corresponds to ( 2 3 1 1 1 2 3 1 1 1 2 3 3 1 1 1 ) ; and the matrix of said matrix calculation as to said columns correspond to (c 8 c 8) and (8 c 8 c).
11 . An encrypt/decrypt processing apparatus as claimed in claim 8 , wherein:
said third matrix calculation is provided with a plurality of columns having the same values; and said second calculation unit includes a third calculation unit for performing a matrix calculation on said plurality of columns.
12 . An encrypt/decrypt processing apparatus as claimed in claim 11 wherein:
the matrix of said second matrix calculation corresponds to ( 2 3 1 1 1 2 3 1 1 1 2 3 3 1 1 1 ) ; and the matrix of said matrix calculation as to said columns correspond to (c 8 c 8) and (8 c 8 c).
13 . A method for alternatively executing any of a first calculating process operation including a first matrix calculation, and a second calculating process operation including a second matrix calculation, the method comprising:
executing said second matrix calculation; executing a third matrix calculation concurrently with the execution of said second matrix calculation; and performing a logic calculation on a calculation result of the execution of said second matrix calculation and a calculation result of the execution of a third matrix calculation; wherein: the execution result of said first matrix calculation is obtained from said logic calculation.
14 . A method for matrix calculation as claimed in claim 13 , further comprising:
selectively outputting the calculation result of the execution of said second matrix calculation and the execution result from said logic calculation.
15 . A method for matrix calculation as claimed in claim 13 , wherein the execution of said second matrix calculation further comprises:
performing a third matrix calculation on a plurality of columns having the same values in at least one of matrices; and commonly performing matrix calculation on said columns.
16 . A method for executing any of a first calculating process operation including a first matrix calculation, and a second calculating process operation including a second matrix calculation, the method comprising:
performing said second matrix calculation within a third matrix calculation, wherein said second matrix calculation by which the same calculation result as that of said first matrix calculation is obtained by exclusive OR-gating the first matrix calculation result and the second matrix calculation result; performing said third matrix calculation; and performing a logic calculation on a calculation result of the performance of said second matrix calculation and a calculation result of the performance of said third matrix calculation; wherein: the calculation result of said first matrix calculation is obtained from the performance of said logic calculation.
17 . A method for matrix calculation as claimed in claim 16 , further comprising:
selectively outputting the calculation result of the performance of said second matrix calculation and the logic calculation result from the performance of said logic calculation.
18 . A method for matrix calculation as claimed in claim 16 , wherein:
said third matrix calculation is provided with a plurality of columns having the same values; and the performance of said third matrix calculation includes performing a matrix calculation on said plurality of columns.
19 . An encrypt/decrypt processing method capable of executing any of a decrypt processing operation which contains a first matrix calculation and an encrypt processing operation which contains a second matrix calculation, the method comprising:
performing said second matrix calculation within a third matrix calculation, wherein said second matrix calculation by which the same calculation result as that of said first matrix calculation is obtained by exclusive OR-gating the first matrix calculation result and the second matrix calculation result; performing said third matrix calculation; and performing a logic calculation on a calculation result of the performance of said second matrix calculation and a calculation result of the performance of said third matrix calculation; wherein: the calculation result of said first matrix calculation is obtained from the logic calculation result of the performance of said logical calculation.
20 . An encrypt/decrypt processing method as claimed in claim 19 , further comprising:
selectively outputting the calculation result of the performance of said second matrix calculation when the encrypt processing operation is carried out, and the output from the performance of said logic calculation when the decrypt processing operation is carried out.
21 . An encrypt/decrypt processing method as claimed in claim 19 , wherein:
said third matrix calculation is provided with a plurality of columns having the same values; and the performance of said third matrix calculation includes performing a matrix calculation on said plurality of columns.
22 . An encrypt/decrypt processing method as claimed in claim 21 wherein:
the matrix of said second matrix calculation corresponds to ( 2 3 1 1 1 2 3 1 1 1 2 3 3 1 1 1 ) ; and the matrix of said matrix calculation as to said columns correspond to (c 8 c 8) and (8 c 8 c).
23 . An encrypt/decrypt processing method as claimed in claim 20 , wherein:
said third matrix calculation is provided with a plurality of columns having the same values; and the performance of said third matrix calculation includes performing a matrix calculation on said plurality of columns.
24 . An encrypt/decrypt processing method as claimed in claim 23 wherein:
the matrix of said second matrix calculation corresponds to ( 2 3 1 1 1 2 3 1 1 1 2 3 3 1 1 1 ) ; and the matrix of said matrix calculation as to said columns correspond to (c 8 c 8) and (8 c 8 c).Join the waitlist — get patent alerts
Track US2005108313A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.