mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-19 03:53:51 -04:00
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: fce96cf044 ("virt: Add SEV-SNP guest driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230117171416.2715125-1-arnd@kernel.org
16 lines
521 B
Plaintext
16 lines
521 B
Plaintext
config SEV_GUEST
|
|
tristate "AMD SEV Guest driver"
|
|
default m
|
|
depends on AMD_MEM_ENCRYPT
|
|
select CRYPTO
|
|
select CRYPTO_AEAD2
|
|
select CRYPTO_GCM
|
|
help
|
|
SEV-SNP firmware provides the guest a mechanism to communicate with
|
|
the PSP without risk from a malicious hypervisor who wishes to read,
|
|
alter, drop or replay the messages sent. The driver provides
|
|
userspace interface to communicate with the PSP to request the
|
|
attestation report and more.
|
|
|
|
If you choose 'M' here, this module will be called sev-guest.
|