Cannot build CryptoDev on IMX8 running with Debian Bookworm SO (FlexBuild docker)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cannot build CryptoDev on IMX8 running with Debian Bookworm SO (FlexBuild docker)

555件の閲覧回数
raul22520
Contributor I

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:
Screenshot 2025-03-28 113127.png

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!

0 件の賞賛
返信
2 返答(返信)

532件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

The component of LSDK2412 are not in i.MX8, since this issue is with flex builder and flex builder is for Layerscape technology, this is a bug, so far you can not enable config for mx8. Sorry and apologize for the inconvenience. We expected to fix it in the next BSP release.

 

Regards

0 件の賞賛
返信

493件の閲覧回数
raul22520
Contributor I

Could you confirm me if, taking into account that in /proc/crypto appears the option to use hmac with the caam:

raul22520_0-1743583822078.png

and making the connection through the AF_ALG socket from the following ptyhon script:

raul22520_1-1743583861257.png

If indeed the caam is being used to make use of hmac?

Thanks in advance,
Raul.

0 件の賞賛
返信