On Newton-Raphson iteration for multiplicative inverses modulo prime powers - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue IEEE Transactions on Computers Année : 2014

On Newton-Raphson iteration for multiplicative inverses modulo prime powers

Résumé

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 $p^m$, 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.
Fichier principal
Vignette du fichier
invmodpk.pdf (406.33 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00736701 , version 1 (28-09-2012)
hal-00736701 , version 2 (02-10-2012)
hal-00736701 , version 3 (09-10-2012)
hal-00736701 , version 4 (14-01-2018)
hal-00736701 , version 5 (14-05-2018)

Identifiants

Citer

Jean-Guillaume Dumas. On Newton-Raphson iteration for multiplicative inverses modulo prime powers. IEEE Transactions on Computers, 2014, 63 (8), pp.2106-2109. ⟨10.1109/TC.2013.94⟩. ⟨hal-00736701v5⟩
422 Consultations
549 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More