[gnutls-devel] GnuTLS | fips: provide function to manually run FIPS self-tests (!1598)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Mon Jun 6 11:41:21 CEST 2022
Daiki Ueno commented on a discussion on lib/global.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1598#note_972221955
>
> /* first round of self checks, these are done on the
> * nettle algorithms which are used internally */
> + _gnutls_switch_lib_state(LIB_STATE_SELFTEST);
> ret = _gnutls_fips_perform_self_checks1();
> + _gnutls_switch_lib_state(LIB_STATE_ERROR);
Oh, indeed; I've somehow dropped `if (ret < 0)`.
Re: `_gnutls_switch_fips_state` it is about FIPS context (i.e., service indicator, not library state).
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1598#note_972221955
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/20220606/dcdcf464/attachment-0001.html>
More information about the Gnutls-devel
mailing list