aboutsummaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-03-11 12:09:25 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2024-03-19 20:17:12 +0000
commite503fc55acffccac5d2755633e7a48262e8edd9b (patch)
tree95fc5b0d026bce08cbf70ce1a0df4d5b0173325b /hw/intc
parenteac57306d89facbcacdb814833b57a8c9ed18d62 (diff)
downloadqemu-e503fc55acffccac5d2755633e7a48262e8edd9b.zip
qemu-e503fc55acffccac5d2755633e7a48262e8edd9b.tar.gz
qemu-e503fc55acffccac5d2755633e7a48262e8edd9b.tar.bz2
crypto: query gcrypt for cipher availability
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 available at runtime. qcrypto_cipher_supports must therefore query gcrypt directly to check for cipher availability. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions