Following SHA-1: b8d89ba83bf42be1f7b1d7d45236eaf6960d1c4e * crypto: move common bits for all emulators to libqemuutil
PATCH 1/1 Following SHA-1: b8d89ba83bf42be1f7b1d7d45236eaf6960d1c4e * crypto: move common bits for all emulators to libqemuutil
From: Yonggang Luo <[email protected]>
qcrypto_random_*, AES and qcrypto_init do not need to be linked as a whole and are the only parts that are used by user-mode emulation. Place them in libqemuutil, so that whatever needs them will pick them up automatically.
Signed-off-by Yonggang Luo <[email protected]>
--- crypto/Makefile.objs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
crypto/Makefile.objs +1 -3
@@ -1,5 +1,4 @@ -crypto-obj-y = init.o -crypto-obj-y += hash.o +crypto-obj-y = hash.o crypto-obj-$(CONFIG_NETTLE) += hash-nettle.o crypto-obj-$(if $(CONFIG_NETTLE),n,$(CONFIG_GCRYPT)) += hash-gcrypt.o crypto-obj-$(if $(CONFIG_NETTLE),n,$(if $(CONFIG_GCRYPT),n,y)) += hash-glib.o
@@ -7,7 +6,6 @@ crypto-obj-y += hmac.o crypto-obj-$(CONFIG_NETTLE) += hmac-nettle.o crypto-obj-$(CONFIG_GCRYPT_HMAC) += hmac-gcrypt.o crypto-obj-$(if $(CONFIG_NETTLE),n,$(if $(CONFIG_GCRYPT_HMAC),n,y)) += hmac-glib.o -crypto-obj-y += aes.o crypto-obj-y += desrfb.o crypto-obj-y += cipher.o crypto-obj-$(CONFIG_AF_ALG) += afalg.o
Signature · 1 line
2.27.0.windows.1