Method and device for calculating a result of an exponentiation
Abstract
For calculating the result of an exponentiation B d , B being a base and d being an exponent which can be described by a binary number from a plurality of bits, a first auxiliary quantity X is at first initialized to a value of 1. Then a second auxiliary quantity Y is initialized to the base B. Then, the bits of the exponent are sequentially processed by updating the first auxiliary quantity X by X 2 or by a value derived from X 2 and by updating the second auxiliary quantity Y by X*Y or by a value derived from X*Y, if a bit of the exponent equals 0. If a bit of the exponent equals 1, the first auxiliary quantity X is updated by X*Y or by a value derived from X*Y and the second auxiliary quantity Y is updated by Y 2 or by a value derived from Y 2 . After sequentially processing all the bits of the exponent, the value of the first auxiliary quantity X is used as the result of the exponentiation. Thus a higher degree of security is obtained by homogenizing the time and current profiles. In addition, an increase in performance is enabled by a possible parallel performance of operations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for encrypting including calculating a result E of an exponentiation B d , B being a base and d being an exponent, wherein the exponent can be described by a binary number from a plurality of bits, comprising the following steps: initializing a first auxiliary quantity X to a value of 1; initializing a second auxiliary quantity Y to the base B; sequentially processing the bits of the exponent by: first updating the first auxiliary quantity X by X 2 or by a value derived from X 2 and updating the second auxiliary quantity Y by X*Y or by a value derived from X*Y, if a bit of the expon
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (2)
- Kocher P: "Timing Attacks on Implementations of Diffie-Hellman, RSA, DSS, and Other Systems"; Advances in Cryptology-CRYPTO '96, 16th Annual International Cryptology Conference, Santa Barbara, CA, Aug. 18-22, 1996, Proceedings of the Annual International Cryptology Conference (CRYPTO), Berlin, Sprin
- Oswald E et al: "Randomized Addition-Substraction Chains as a Countermeasure against Power Attacks"; Cryptographic Hardware and Embedded Systems, 3rd International Workshop, CHES 2001, Paris, France, May 14-16, 2001 Proceedings, Lecture Notes in Computer Science, Berlin, Springer. DE, vol. 2162, pp.