SP math: sp_invmod changed to not call itself
When the modulus is even, calculate m^-1 mod a instead and fixup after. Don't call self to do inverse.
Loading
Please register or sign in to comment
When the modulus is even, calculate m^-1 mod a instead and fixup after. Don't call self to do inverse.