]> Git Repo - linux.git/commitdiff
tee: fix crypto select
authorArnd Bergmann <[email protected]>
Wed, 27 May 2020 13:39:16 +0000 (15:39 +0200)
committerArnd Bergmann <[email protected]>
Thu, 28 May 2020 10:38:00 +0000 (12:38 +0200)
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: e33bcbab16d1 ("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]>
drivers/tee/Kconfig

index 806eb87d4da025a742bf17d237e8b4606407d0e7..e99d840c2511ed95df2e81f9e42ee28764d0049e 100644 (file)
@@ -3,6 +3,7 @@
 config TEE
        tristate "Trusted Execution Environment support"
        depends on HAVE_ARM_SMCCC || COMPILE_TEST || CPU_SUP_AMD
+       select CRYPTO
        select CRYPTO_SHA1
        select DMA_SHARED_BUFFER
        select GENERIC_ALLOCATOR
This page took 0.056143 seconds and 4 git commands to generate.