]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
crypto: Rename cipher include files to .c.inc
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 28 Aug 2020 17:05:09 +0000 (10:05 -0700)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Sep 2020 10:02:23 +0000 (11:02 +0100)
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>
crypto/cipher-builtin.c.inc [moved from crypto/cipher-builtin.c with 100% similarity]
crypto/cipher-gcrypt.c.inc [moved from crypto/cipher-gcrypt.c with 100% similarity]
crypto/cipher-nettle.c.inc [moved from crypto/cipher-nettle.c with 100% similarity]
crypto/cipher.c

index 2722dc7d87739497550a923b7da59d31c7199590..005b5da4dea58810bd2b6f4224176ecedf193e18 100644 (file)
@@ -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,