[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:45:09 CEST 2022

Alexander Sosedkin commented on a discussion on lib/global.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1598#note_972226194

>  		/* 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, right. not sure how useful it is to limit transitions of library state

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1598#note_972226194
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/b0581f1f/attachment.html>

More information about the Gnutls-devel mailing list