![]() |
![]()
| ![]() |
![]()
NAMEgnutls_dh_params_export_raw - API function SYNOPSIS#include <gnutls/gnutls.h> int gnutls_dh_params_export_raw(gnutls_dh_params_t params, gnutls_datum_t * prime, gnutls_datum_t * generator, unsigned int * bits); ARGUMENTS
DESCRIPTIONThis function will export the pair of prime and generator for use in the Diffie-Hellman key exchange. The new parameters will be allocated using gnutls_malloc() and will be stored in the appropriate datum. RETURNSOn success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error code is returned. REPORTING BUGSReport bugs to <bugs@gnutls.org>.
COPYRIGHTCopyright © 2001-2023 Free Software Foundation, Inc., and
others.
SEE ALSOThe full documentation for gnutls is maintained as a Texinfo manual. If the /usr/local/share/doc/gnutls/ directory does not contain the HTML form visit
|