[gnutls-devel] GnuTLS | Optimize FIPS power-on self-tests (!1907)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue Dec 17 14:05:42 CET 2024
Clemens Lang commented on a discussion on lib/fips.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1907#note_2262976881
> }
>
> /* 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);
PSS is probabilistic, though, will you be able to add a KAT in that case? I guess you could set the salt length to 0 to make PSS deterministic, although that kind of defeats its purpose.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1907#note_2262976881
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/20241217/7dea7963/attachment-0001.html>
More information about the Gnutls-devel
mailing list