qemu/crypto
Daniel P. Berrangé e503fc55ac 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>
2024-03-19 20:17:12 +00:00
..
aes.c
afalg.c
afalgpriv.h
afsplit.c
akcipher-gcrypt.c.inc
akcipher-nettle.c.inc
akcipher.c
akcipherpriv.h
block-luks-priv.h
block-luks.c crypto: Introduce 'detached-header' field in QCryptoBlockInfoLUKS 2024-02-09 12:50:37 +00:00
block-luks.h
block-qcow.c
block-qcow.h
block.c
blockpriv.h
cipher-afalg.c
cipher-builtin.c.inc
cipher-gcrypt.c.inc crypto: query gcrypt for cipher availability 2024-03-19 20:17:12 +00:00
cipher-gnutls.c.inc
cipher-nettle.c.inc
cipher.c
cipherpriv.h
clmul.c
der.c
der.h
hash-afalg.c
hash-gcrypt.c
hash-glib.c
hash-gnutls.c
hash-nettle.c
hash.c
hashpriv.h
hmac-gcrypt.c
hmac-glib.c
hmac-gnutls.c
hmac-nettle.c
hmac.c
hmacpriv.h
init.c
ivgen-essiv.c
ivgen-essiv.h
ivgen-plain.c
ivgen-plain.h
ivgen-plain64.c
ivgen-plain64.h
ivgen.c
ivgenpriv.h
meson.build
pbkdf-gcrypt.c
pbkdf-gnutls.c
pbkdf-nettle.c
pbkdf-stub.c
pbkdf.c
random-gcrypt.c
random-gnutls.c
random-none.c
random-platform.c
rsakey-builtin.c.inc
rsakey-nettle.c.inc
rsakey.c
rsakey.h
secret.c
secret_common.c
secret_keyring.c
sm4.c
tls-cipher-suites.c
tlscreds.c
tlscredsanon.c
tlscredspriv.h
tlscredspsk.c
tlscredsx509.c
tlssession.c
trace-events
trace.h
xts.c