Blame doc/functions/gnutls_x509_privkey_import_ecc_raw

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@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 Service 4684c1
@var{key}: The data to store the parsed key
Packit Service 4684c1
Packit Service 4684c1
@var{curve}: holds the curve
Packit Service 4684c1
Packit Service 4684c1
@var{x}: holds the x-coordinate
Packit Service 4684c1
Packit Service 4684c1
@var{y}: holds the y-coordinate
Packit Service 4684c1
Packit Service 4684c1
@var{k}: holds the k
Packit Service 4684c1
Packit Service 4684c1
This function will convert the given elliptic curve parameters to the
Packit Service 4684c1
native @code{gnutls_x509_privkey_t}  format.  The output will be stored
Packit Service 4684c1
in  @code{key} . For EdDSA keys, the  @code{x} and  @code{k} values must be in the
Packit Service 4684c1
native to curve format.
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit Service 4684c1
negative error value.
Packit Service 4684c1
Packit Service 4684c1
@strong{Since:} 3.0
Packit Service 4684c1
@end deftypefun