diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-08-28 10:05:09 -0700 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2020-09-10 11:02:23 +0100 |
commit | 6d92bdf44375f9819539927b7f234ba89ce9365e (patch) | |
tree | d7763d1aad0a0a9c2f9bcc74c3d907b18b351d81 | |
parent | eba29771c006d6a689e946fa57334a2ce370c45c (diff) |
crypto: Rename cipher include files to .c.inc
QEMU standard procedure for included c files is to use *.c.inc.
E.g. there are a different set of checks that are applied.
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
-rw-r--r-- | crypto/cipher-builtin.c.inc (renamed from crypto/cipher-builtin.c) | 0 | ||||
-rw-r--r-- | crypto/cipher-gcrypt.c.inc (renamed from crypto/cipher-gcrypt.c) | 0 | ||||
-rw-r--r-- | crypto/cipher-nettle.c.inc (renamed from crypto/cipher-nettle.c) | 0 | ||||
-rw-r--r-- | crypto/cipher.c | 6 |
4 files changed, 3 insertions, 3 deletions
diff --git a/crypto/cipher-builtin.c b/crypto/cipher-builtin.c.inc index 6eafd39da0..6eafd39da0 100644 --- a/crypto/cipher-builtin.c +++ b/crypto/cipher-builtin.c.inc diff --git a/crypto/cipher-gcrypt.c b/crypto/cipher-gcrypt.c.inc index 81e4745bff..81e4745bff 100644 --- a/crypto/cipher-gcrypt.c +++ b/crypto/cipher-gcrypt.c.inc diff --git a/crypto/cipher-nettle.c b/crypto/cipher-nettle.c.inc index 0677fdfd33..0677fdfd33 100644 --- a/crypto/cipher-nettle.c +++ b/crypto/cipher-nettle.c.inc diff --git a/crypto/cipher.c b/crypto/cipher.c index 2722dc7d87..005b5da4de 100644 --- a/crypto/cipher.c +++ b/crypto/cipher.c @@ -151,11 +151,11 @@ qcrypto_cipher_munge_des_rfb_key(const uint8_t *key, #endif /* CONFIG_GCRYPT || CONFIG_NETTLE */ #ifdef CONFIG_GCRYPT -#include "cipher-gcrypt.c" +#include "cipher-gcrypt.c.inc" #elif defined CONFIG_NETTLE -#include "cipher-nettle.c" +#include "cipher-nettle.c.inc" #else -#include "cipher-builtin.c" +#include "cipher-builtin.c.inc" #endif QCryptoCipher *qcrypto_cipher_new(QCryptoCipherAlgorithm alg, |