[gnutls-devel] GnuTLS | DH and ECDH keys tests (!990)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri May 17 22:22:45 CEST 2019




Nikos Mavrogiannopoulos commented on a discussion on lib/nettle/pk.c: https://gitlab.com/gnutls/gnutls/merge_requests/990#note_171694887

>  			goto dh_cleanup;
>  		}
>  
> +		/* if we have Q check that y ^ q mod p == 1 */
> +		if (q != NULL) {

If we disable DHE in TLS1.2 there is no practical value from the new test using Q because this catches incorrect public keys, but only in the non-safe groups (SP800-56A acknowledges that). I'd expect the ACVP/CAVS tests to be different depending on whether `SP800-56A 5.6.2.2.2 case 1` or case (2) is claimed. Let's see what Stephan thinks on that.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/990#note_171694887
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/20190517/4bebd26a/attachment.html>


More information about the Gnutls-devel mailing list