* use mp_invmod instead of mp_xgcd. nelsonb optimized mp_invmod for even moduli, and this will take advantage of it. * Assure that p > q. * Assure that n is actually keysizeInBits long by setting the two high-order bits of p and q during generation. Previously, it was possible for n to be 1 bit short. git-svn-id: svn://10.0.0.236/trunk@82101 18797224-902f-48f8-a5cc-f745e15eee43