[gnutls-devel] GnuTLS | Optimize FIPS power-on self-tests (!1907)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Dec 18 13:26:54 CET 2024




Daiki Ueno commented on a discussion on lib/fips.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1907#note_2265003639

 >  	}
 >  
 >  	/* PK */
 > -	if (_gnutls_config_is_rsa_pkcs1_encrypt_allowed()) {
 > -		ret = gnutls_pk_self_test(0, GNUTLS_PK_RSA);
 > -		if (ret < 0) {
 > -			return gnutls_assert_val(GNUTLS_E_SELF_TEST_ERROR);
 > -		}
 > +	ret = gnutls_pk_self_test(0, GNUTLS_PK_RSA_PSS);

Yeah, but we already use a deterministic RNG for the RSA PKCS#1 v1.5 self-tests (for blinding), so that might apply to this as well. @smuellerDD do you have any insights here? Does it make sense and is it allowed to use a deterministic RNG for the KAT of RSA-PSS?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1907#note_2265003639
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/20241218/3996a61c/attachment.html>


More information about the Gnutls-devel mailing list