Skip to content

Commit 60b4000

Browse files
committed
tee: fix crypto select
When selecting a crypto cipher, we also need to select the subsystem itself: WARNING: unmet direct dependencies detected for CRYPTO_SHA1 Depends on [m]: CRYPTO [=m] Selected by [y]: - TEE [=y] && (HAVE_ARM_SMCCC [=n] || COMPILE_TEST [=y] || CPU_SUP_AMD [=y]) Selected by [m]: - CRYPTO_DEV_QAT [=m] && CRYPTO [=m] && CRYPTO_HW [=y] - CRYPTO_DEV_MEDIATEK [=m] && CRYPTO [=m] && CRYPTO_HW [=y] && (ARM && ARCH_MEDIATEK || COMPILE_TEST [=y]) - CRYPTO_DEV_SAFEXCEL [=m] && CRYPTO [=m] && CRYPTO_HW [=y] && (OF [=y] || PCI [=y] || COMPILE_TEST [=y]) && HAS_IOMEM [=y] - CRYPTO_DEV_CCREE [=m] && CRYPTO [=m] && CRYPTO_HW [=y] && OF [=y] && HAS_DMA [=y] - CRYPTO_DEV_SP_CCP [=y] && CRYPTO [=m] && CRYPTO_HW [=y] && CRYPTO_DEV_CCP [=y] && CRYPTO_DEV_CCP_DD [=m] && DMADEVICES [=y] Link: https://lore.kernel.org/r/[email protected] Fixes: e33bcba ("tee: add support for session's client UUID generation") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Vesa Jääskeläinen <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
1 parent e1d908a commit 60b4000

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/tee/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
config TEE
44
tristate "Trusted Execution Environment support"
55
depends on HAVE_ARM_SMCCC || COMPILE_TEST || CPU_SUP_AMD
6+
select CRYPTO
67
select CRYPTO_SHA1
78
select DMA_SHARED_BUFFER
89
select GENERIC_ALLOCATOR

0 commit comments

Comments
 (0)