



@deftypefun {int} {gnutls_privkey_import_dh_raw} (gnutls_privkey_t @var{key}, const gnutls_dh_params_t @var{params}, const gnutls_datum_t * @var{y}, const gnutls_datum_t * @var{x})
@var{key}: The structure to store the parsed key

@var{params}: holds the @code{gnutls_dh_params_t} 

@var{y}: holds the y (optional)

@var{x}: holds the x

This function will convert the given Diffie-Hellman raw parameters
to the native @code{gnutls_privkey_t}  format.  The output will be stored
in  @code{key} .

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
negative error value.

@strong{Since:} 3.8.2
@end deftypefun
