[gnutls-devel] GnuTLS | fips: add functions to inspect thread-local FIPS operation state (!1465)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Nov 28 10:54:48 CET 2021




Stephan Mueller started a new discussion on lib/fips.h: https://gitlab.com/gnutls/gnutls/-/merge_requests/1465#note_745612424

>  	}
>  
> -	return 0;
> +	return false;
> +}
> +
> +inline static bool
> +is_cipher_algo_forbidden_in_fips(gnutls_cipher_algorithm_t algo)
> +{
> +	switch (algo) {
> +	case GNUTLS_CIPHER_AES_128_CBC:
> +	case GNUTLS_CIPHER_AES_256_CBC:
> +	case GNUTLS_CIPHER_AES_192_CBC:
> +	case GNUTLS_CIPHER_AES_128_GCM:
> +	case GNUTLS_CIPHER_AES_192_GCM:
> +	case GNUTLS_CIPHER_AES_256_GCM:

For the records: I would like to mention that GCM is a bit special. GCM is only approved to be used as part of the TLS protocol stack. The general-purpose use of GCM is not approved.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1465#note_745612424
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/20211128/870aa59d/attachment.html>


More information about the Gnutls-devel mailing list