diff --git a/boards/sim/sim/sim/configs/crypto/defconfig b/boards/sim/sim/sim/configs/crypto/defconfig index d2982b4e902..a1285b578a0 100644 --- a/boards/sim/sim/sim/configs/crypto/defconfig +++ b/boards/sim/sim/sim/configs/crypto/defconfig @@ -23,6 +23,7 @@ CONFIG_CRYPTO_CRYPTODEV=y CONFIG_CRYPTO_CRYPTODEV_SOFTWARE=y CONFIG_CRYPTO_MBEDTLS=y CONFIG_CRYPTO_RANDOM_POOL=y +CONFIG_CRYPTO_SW_AES=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEV_GPIO=y CONFIG_DEV_LOOP=y diff --git a/crypto/Kconfig b/crypto/Kconfig index 3112b1c227e..856dddece84 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -42,7 +42,7 @@ config CRYPTO_CRYPTODEV config CRYPTO_CRYPTODEV_SOFTWARE bool "cryptodev software support" - depends on CRYPTO_CRYPTODEV + depends on CRYPTO_CRYPTODEV && CRYPTO_SW_AES default n config CRYPTO_CRYPTODEV_HARDWARE