[gnutls-devel] GnuTLS | WIP: gnutls_hkdf{expand, extract}: new API functions exposed (!1115)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Nov 8 16:33:10 CET 2019




Daiki Ueno started a new discussion on lib/includes/gnutls/crypto.h: https://gitlab.com/gnutls/gnutls/merge_requests/1115#note_242092569

>  
>  void gnutls_aead_cipher_deinit(gnutls_aead_cipher_hd_t handle);
>  
> +/* HKDF API */
> +
> +int gnutls_hkdf_extract(gnutls_mac_algorithm_t algorithm,
> +			const unsigned int *secret, size_t secret_size,
> +			const unsigned int dst);
> +int gnutls_hkdf_expand(gnutls_mac_algorithm_t algorithm,
> +			const unsigned int *secret,
> +			const unsigned int *info, size_t info_size,
> +			unsigned out_size, void *out);

Still `out_size` is before `out`.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1115#note_242092569
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/20191108/cd7da1fb/attachment-0001.html>


More information about the Gnutls-devel mailing list