[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
Wed Jan 15 11:15:51 CET 2020




Dmitry Baryshkov started a new discussion on lib/auth/ecdhe.c: https://gitlab.com/gnutls/gnutls/merge_requests/984#note_271706914

>  		}
>  
>  		/* RFC7748 requires to mask the MSB in the final byte */
> -		if (ecurve->id == GNUTLS_ECC_CURVE_X25519) {
> +		if (ecurve->id == GNUTLS_ECC_CURVE_X25519 ||
> +		    ecurve->id == GNUTLS_ECC_CURVE_X448) {
>  			session->key.proto.tls12.ecdh.raw.data[point_size-1] &= 0x7f;

And this also shouldn't apply to x448.

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


More information about the Gnutls-devel mailing list