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 ($(call cfg-one-enabled, CFG_STM32_CRYP CFG_STM32_SAES),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 21ifeq ($(CFG_STM32_HASH),y) 22$(call force,CFG_CRYPTO_DRV_HASH,y,Mandated by CFG_STM32_HASH) 23$(call force,CFG_CRYPTO_DRV_MAC,y,Mandated by CFG_STM32_HASH) 24endif 25 26ifeq ($(CFG_STM32_PKA),y) 27$(call force,CFG_CRYPTO_DRV_ECC,y,Mandated by CFG_STM32_PKA) 28$(call force,CFG_CRYPTO_DRV_ACIPHER,y,Mandated by CFG_STM32_PKA) 29endif 30 31endif # CFG_STM32_CRYPTO_DRIVER 32