Hi everyone,
I'm currently working with an i.MX8-based system running Debian Bookworm. The kernel has already been compiled with CAAM support enabled, and I'm now trying to build the cryptodev_linux module as part of the security stack for my project.
However, I'm encountering a series of unresolved symbol errors during the build process, especially related to cryptographic functions such as crypto_skcipher_encrypt, crypto_alloc_ahash, and others. I am following the instructions from FlexBuild and using Docker to facilitate the build process.
Despite ensuring that the necessary kernel options related to CAAM (Freescale Cryptographic Accelerator) and the cryptographic API are enabled in the .config file, the error persists during the build of cryptodev_linux.
I've included a screenshot of the error I am seeing below, which might provide more context on the issue when running "bld security" inside the docker container:

If anyone has experience with this or has faced similar issues while working with cryptographic modules on i.MX8, I would really appreciate your insights.
Thanks in advance!