Handle prime (modulus) of 0 and 1. Handle exponent of 0. Fix for base of 0 in fp_exptmod and hadnle base of 0 in mp_exptmod. fp_exptmod - Don't modify X's sign during operation when passed in as negative.
Handle prime (modulus) of 0 and 1. Handle exponent of 0. Fix for base of 0 in fp_exptmod and hadnle base of 0 in mp_exptmod. fp_exptmod - Don't modify X's sign during operation when passed in as negative.