aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-08-28 10:05:09 -0700
committerDaniel P. Berrangé <berrange@redhat.com>2020-09-10 11:02:23 +0100
commit6d92bdf44375f9819539927b7f234ba89ce9365e (patch)
treed7763d1aad0a0a9c2f9bcc74c3d907b18b351d81 /crypto
parenteba29771c006d6a689e946fa57334a2ce370c45c (diff)
downloadqemu-6d92bdf44375f9819539927b7f234ba89ce9365e.zip
qemu-6d92bdf44375f9819539927b7f234ba89ce9365e.tar.gz
qemu-6d92bdf44375f9819539927b7f234ba89ce9365e.tar.bz2
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>
Diffstat (limited to 'crypto')
-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.c6
4 files changed, 3 insertions, 3 deletions
diff --git a/crypto/cipher-builtin.c b/crypto/cipher-builtin.c.inc
index 6eafd39..6eafd39 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 81e4745..81e4745 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 0677fdf..0677fdf 100644
--- a/crypto/cipher-nettle.c
+++ b/crypto/cipher-nettle.c.inc
diff --git a/crypto/cipher.c b/crypto/cipher.c
index 2722dc7..005b5da 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,