gmp: Support setting Diffie-Hellman private values