[gnutls-devel] Guile-GnuTLS | Draft: Add the HMAC functions (!5)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Dec 23 14:30:47 CET 2022




Vivien Kraus Would Rather Not Be On Gitlab_com commented on a discussion on guile/src/core.c: https://gitlab.com/gnutls/guile/-/merge_requests/5#note_1220064702

>  
>    weak_refs = scm_make_weak_key_hash_table (scm_from_int (42));
>    weak_refs = scm_permanent_object (weak_refs);
> +#ifdef HAVE_GNUTLS_HMAC_GET_KEY_SIZE
> +  scm_add_feature ("gnutls-hmac-key-size");
> +#endif /* HAVE_GNUTLS_HMAC_GET_KEY_SIZE */
>  }

I decided to go all in with this approach. For newer mac algorithms, I fixed the C code generation function to not define the mac/thing value if the value is not available.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/guile/-/merge_requests/5#note_1220064702
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/20221223/af8d3047/attachment.html>


More information about the Gnutls-devel mailing list