Title :
On Newton–Raphson Iteration for Multiplicative Inverses Modulo Prime Powers
Author :
Dumas, Jean-Guillaume
Author_Institution :
Inst. Nat. Polytech. de Grenoble, Lab. Jean Kuntzmann, Univ. de Grenoble, Grenoble, France
Abstract :
We study algorithms for the fast computation of modular inverses. Newton-Raphson iteration over p-adic numbers gives a recurrence relation computing modular inverse modulo pm, that is logarithmic in m. We solve the recurrence to obtain an explicit formula for the inverse. Then, we study different implementation variants of this iteration and show that our explicit formula is interesting for small exponent values but slower or large exponent, say of more than 700 bits. Overall, we thus propose a hybrid combination of our explicit formula and the best asymptotic variants. This hybrid combination yields then a constant factor improvement, also for large exponents.
Keywords :
Newton-Raphson method; Newton-Raphson iteration; hybrid combination; multiplicative inverse modulo prime powers; p-adic numbers; small exponent values; Algorithm design and analysis; Complexity theory; Cryptography; Equations; Presses; Sparse matrices; Topology; Modular arithmetic; Newton-Raphson; modular multiplicative inverse; prime powers;
Journal_Title :
Computers, IEEE Transactions on