Blame doc/functions/gnutls_x509_privkey_import_ecc_raw

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_x509_privkey_import_ecc_raw} (gnutls_x509_privkey_t @var{key}, gnutls_ecc_curve_t @var{curve}, const gnutls_datum_t * @var{x}, const gnutls_datum_t * @var{y}, const gnutls_datum_t * @var{k})
Packit aea12f
@var{key}: The data to store the parsed key
Packit aea12f
Packit aea12f
@var{curve}: holds the curve
Packit aea12f
Packit aea12f
@var{x}: holds the x-coordinate
Packit aea12f
Packit aea12f
@var{y}: holds the y-coordinate
Packit aea12f
Packit aea12f
@var{k}: holds the k
Packit aea12f
Packit aea12f
This function will convert the given elliptic curve parameters to the
Packit aea12f
native @code{gnutls_x509_privkey_t}  format.  The output will be stored
Packit aea12f
in  @code{key} . For EdDSA keys, the  @code{x} and  @code{k} values must be in the
Packit aea12f
native to curve format.
Packit aea12f
Packit aea12f
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit aea12f
negative error value.
Packit aea12f
Packit aea12f
@strong{Since:} 3.0
Packit aea12f
@end deftypefun