[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 11:21:01 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_1219873228

>  #undef FUNC_NAME
>  

>  
> +/* Hmac */
> +
> +SCM_DEFINE (scm_gnutls_hmac_fast, "hmac-fast", 3, 0, 0,
> +	    (SCM algorithm, SCM key, SCM ptext),
> +	    "Hash @var{ptext} with @var{algorithm}, and "
> +	    "the secret @var{key}. It will not work if "
> +	    "@var{algorithm} requires a nonce, such as "
> +	    "UMAC or GMAC. Both @var{key} and @var{ptext} "
> +	    "must be bytevectors.")
> +#define FUNC_NAME s_scm_gnutls_hmac_fast

The non-fast method also computes the hmac. Maybe, `hmac-direct`? `hmac-immediate`?

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


More information about the Gnutls-devel mailing list