e503fc55ac
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> |
||
---|---|---|
.. | ||
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 | ||
block-luks.h | ||
block-qcow.c | ||
block-qcow.h | ||
block.c | ||
blockpriv.h | ||
cipher-afalg.c | ||
cipher-builtin.c.inc | ||
cipher-gcrypt.c.inc | ||
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-plain64.c | ||
ivgen-plain64.h | ||
ivgen-plain.c | ||
ivgen-plain.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_common.c | ||
secret_keyring.c | ||
secret.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 |