Exponent calculation apparatus and method, and program
AssigneeCanon Kabushiki Kaisha
InventorYuji Suga
Life of this patent
Estimating the term…
Loading patent…
AssigneeCanon Kabushiki Kaisha
InventorYuji Suga
Estimating the term…
An exponent calculation apparatus calculates xe based on input two integers x and e. A pre-calculation module pre-calculates x^{l_i} for each of candidate exponents {l_i} (0≦i≦L−1) stored in a candidate exponents storing unit, the number of the candidate exponents being L, and stores the obtained values x^{l_i} in a pre-calculated values storing unit. A dividing module divides the integer e into a plurality of values {f_i} (0≦i≦F−1) so that each of the values {f_i} corresponds to one of the candidate exponents {l_i}. A sequential processing module sequentially updates a calculation result c, which is stored in a calculation result storing unit, for each of the values {f_i} by using each of the values x^{l_i}. The updated calculation result c for each of the values {f_i} is output as xe. Accordingly, the amount of pre-calculation and table size can be reduced and thus the number of calculations can be reduced.
An exponent calculation apparatus for encrypting or decrypting data by calculating xe based on two integers x and e, the apparatus comprising:
An exponent calculation apparatus for encrypting or decrypting data by calculating xe(mod N) based on three integers x, e, and N, the apparatus comprising:
A method for encrypting or decrypting data by calculating xe based on two integers x and e, the method comprising:
A method for encrypting or decrypting data by calculating xe(mod N) based on three integers x, e, and N, the method comprising:
A computer-readable program stored in a computer-readable storage medium, for encrypting or decrypting data by allowing a computer to execute exponent calculation for calculating xe based on two integers x and e, said program comprising codes for causing the computer to perform:
A computer-readable program stored in a computer-readable storage medium, for encrypting or decrypting data by allowing a computer to execute exponent calculation for calculating Xe(mod N) based on three integers x, e, and N, said program comprising codes for causing the computer to perform:
Dependencies are inferred from the claim text.