Re: [PATCH 2/4] crypto: query gcrypt for cipher availability

2024-03-11 Thread Thomas Huth
On 11/03/2024 13.19, Daniel P. Berrangé wrote: Just because a cipher is defined in the gcrypt header file, does not imply that it can be used. Distros can filter the list of ciphers when building gcrypt. For example, RHEL-9 disables the SM4 cipher. It is also possible that running in FIPS mode

[PATCH 2/4] crypto: query gcrypt for cipher availability

2024-03-11 Thread Daniel P . Berrangé
Just because a cipher is defined in the gcrypt header file, does not imply that it can be used. Distros can filter the list of ciphers when building gcrypt. For example, RHEL-9 disables the SM4 cipher. It is also possible that running in FIPS mode might dynamically change what ciphers are