1# CFG_STM32_CRYPTO_DRIVER, when enabled, embeds
2#       STM32 HW cryptographic support and OP-TEE Crypto Driver.
3# CFG_STM32_CRYP, when enabled, embeds
4#       STM32 CRYP module support,
5#       CIPHER Crypto Driver,
6#       AUTHENC Crypto Driver.
7
8ifeq ($(CFG_STM32_CRYPTO_DRIVER),y)
9
10$(call force,CFG_CRYPTO_DRIVER,y)
11CFG_CRYPTO_DRIVER_DEBUG ?= 0
12
13ifeq ($(CFG_STM32_CRYP),y)
14$(call force,CFG_CRYPTO_DRV_CIPHER,y,Mandated by CFG_STM32_CRYP)
15endif
16
17ifeq ($(CFG_STM32_CRYP),y)
18$(call force,CFG_CRYPTO_DRV_AUTHENC,y,Mandated by CFG_STM32_CRYP)
19endif
20
21endif # CFG_STM32_CRYPTO_DRIVER
22