summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRichard Henderson2020-08-28 19:05:09 +0200
committerDaniel P. Berrangé2020-09-10 12:02:23 +0200
commit6d92bdf44375f9819539927b7f234ba89ce9365e (patch)
treed7763d1aad0a0a9c2f9bcc74c3d907b18b351d81 /crypto
parentcrypto: Assume blocksize is a power of 2 (diff)
downloadqemu-6d92bdf44375f9819539927b7f234ba89ce9365e.tar.gz
qemu-6d92bdf44375f9819539927b7f234ba89ce9365e.tar.xz
qemu-6d92bdf44375f9819539927b7f234ba89ce9365e.zip
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 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,