[gnutls-devel] GnuTLS | algorithms: implement X448 key exchange and Ed448 signature scheme (!984)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Jan 23 06:53:55 CET 2020




Daiki Ueno commented on a discussion on tests/privkey-keygen.c: https://gitlab.com/gnutls/gnutls/merge_requests/984#note_275693886

>  
>  	if (algorithm == GNUTLS_PK_EDDSA_ED25519)
>  		digest = GNUTLS_DIG_SHA512;
> +	else if (algorithm == GNUTLS_PK_EDDSA_ED448)
> +		digest = GNUTLS_DIG_SHAKE_256;

I've rewritten this part to use `gnutls_pubkey_get_preferred_hash_algorithm` so no algorithm-specific code is needed.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/984#note_275693886
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/20200123/fdee2336/attachment.html>


More information about the Gnutls-devel mailing list