[gnutls-devel] GnuTLS | gnutls_privkey_derive_secret: new function (!1773)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Fri Sep 1 21:07:31 CEST 2023
Hubert Kario (@mention me if you need reply) started a new discussion on lib/privkey_raw.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1773#note_1540077797
> + * @flags: flags from %gnutls_abstract_export_flags_t
> + *
> + * This function will export the DSA private key's parameters found
> + * in the given structure. The new parameters will be allocated using
> + * gnutls_malloc() and will be stored in the appropriate datum.
> + *
> + * Returns: %GNUTLS_E_SUCCESS on success, otherwise a negative error code.
> + *
> + * Since: 3.8.2
> + **/
> +int gnutls_privkey_export_dh_raw(gnutls_privkey_t key, gnutls_datum_t *p,
> + gnutls_datum_t *q, gnutls_datum_t *g,
> + gnutls_datum_t *y, gnutls_datum_t *x,
> + unsigned int flags)
> +{
> + return gnutls_privkey_export_dsa_raw2(key, p, q, g, y, x, 0);
if we drop `flags` here, shouldn't doc text explain that?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1773#note_1540077797
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20230901/22a68ecb/attachment.html>
More information about the Gnutls-devel
mailing list