Hello @NPal.2 ,
The configuration that interest you is "CONFIG_CRYPTO_DEV_STM32_CRC".
We can see in your defconfig_file that this configuration is enabled, but as a built-in and not a module:
CONFIG_CRYPTO_DEV_STM32_CRC=y
CONFIG_CRYPTO_DEV_STM32_HASH=y
CONFIG_CRYPTO_DEV_STM32_CRYP=y
You have "Y" instead of "m".
For instance, if you look at the defconfig file from the developer package v3.1, you will see:
CONFIG_CRYPTO_DEV_STM32_CRC=m
CONFIG_CRYPTO_DEV_STM32_HASH=m
CONFIG_CRYPTO_DEV_STM32_CRYP=m
To modify that, you have to use the "make menuconfig" search the 3 configs "CONFIG_CRYPTO_DEV_STM32"
Location:
│ -> Cryptographic API (CRYPTO [=y])
│ -> Hardware crypto devices (CRYPTO_HW [=y])
And press the space key several times until you have switched all of them into modules:
Hope it helps,
Regards,
Kevin
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'