gcrypt: Support setting private value and testing of DH backend