Skip to content

Commit 84b9b44

Browse files
arndbbp3tk0v
authored andcommitted
virt: sevguest: Add CONFIG_CRYPTO dependency
This driver fails to link when CRYPTO is disabled, or in a loadable module: WARNING: unmet direct dependencies detected for CRYPTO_GCM WARNING: unmet direct dependencies detected for CRYPTO_AEAD2 Depends on [m]: CRYPTO [=m] Selected by [y]: - SEV_GUEST [=y] && VIRT_DRIVERS [=y] && AMD_MEM_ENCRYPT [=y] x86_64-linux-ld: crypto/aead.o: in function `crypto_register_aeads': Fixes: fce96cf ("virt: Add SEV-SNP guest driver") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c0461bd commit 84b9b44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/virt/coco/sev-guest/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ config SEV_GUEST
22
tristate "AMD SEV Guest driver"
33
default m
44
depends on AMD_MEM_ENCRYPT
5+
select CRYPTO
56
select CRYPTO_AEAD2
67
select CRYPTO_GCM
78
help

0 commit comments

Comments
 (0)