Exponent calculation apparatus and method, and program
Abstract
An exponent calculation apparatus calculates x e 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 x e . Accordingly, the amount of pre-calculation and table size can be reduced and thus the number of calculations can be reduced.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An exponent calculation apparatus for encrypting or decrypting data by calculating x e based on two integers x and e, the apparatus comprising: an input unit for inputting the two integers x and e; a candidate exponents storing unit for storing candidate exponents {l_i} (0≦i≦L−1), the number of the candidate exponents being L; a pre-calculation unit for pre-calculating x^{l_i} for each of the candidate exponents {l_i}, which are stored in the candidate exponents storing unit, based on the input integer x; a pre-calculated values storing unit for storing the values x^{l_i} obtained by the pre-
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗