Debian Codegraph @

doc/functions/gnutls_dh_params_import_raw

raw
1
2
3
4
5 @deftypefun {int} {gnutls_dh_params_import_raw} (gnutls_dh_params_t @var{dh_params}, const gnutls_datum_t * @var{prime}, const gnutls_datum_t * @var{generator})
6 @var{dh_params}: The parameters
7
8 @var{prime}: holds the new prime
9
10 @var{generator}: holds the new generator
11
12 This function will replace the pair of prime and generator for use
13 in the Diffie-Hellman key exchange. The new parameters should be
14 stored in the appropriate gnutls_datum.
15
16 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned,
17 otherwise a negative error code is returned.
18 @end deftypefun