Diffie-Hellman key exchange with GNU MP